Skip to content

Commit ec47f43

Browse files
Automatic merge of 'next-test' into merge-test (2025-01-21 10:43)
2 parents 3bb000d + ae908b8 commit ec47f43

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

arch/powerpc/kernel/prom_init.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ static const struct ibm_arch_vec ibm_architecture_vec_template __initconst = {
10611061
.virt_base = cpu_to_be32(0xffffffff),
10621062
.virt_size = cpu_to_be32(0xffffffff),
10631063
.load_base = cpu_to_be32(0xffffffff),
1064-
.min_rma = cpu_to_be32(512), /* 512MB min RMA */
1064+
.min_rma = cpu_to_be32(768), /* 768MB min RMA */
10651065
.min_load = cpu_to_be32(0xffffffff), /* full client load */
10661066
.min_rma_percent = 0, /* min RMA percentage of total RAM */
10671067
.max_pft_size = 48, /* max log_2(hash table size) */

arch/powerpc/platforms/pseries/eeh_pseries.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,10 @@ static int pseries_eeh_get_state(struct eeh_pe *pe, int *delay)
580580

581581
switch(rets[0]) {
582582
case 0:
583-
result = EEH_STATE_MMIO_ACTIVE |
584-
EEH_STATE_DMA_ACTIVE;
583+
result = EEH_STATE_MMIO_ACTIVE |
584+
EEH_STATE_DMA_ACTIVE |
585+
EEH_STATE_MMIO_ENABLED |
586+
EEH_STATE_DMA_ENABLED;
585587
break;
586588
case 1:
587589
result = EEH_STATE_RESET_ACTIVE |

arch/powerpc/platforms/pseries/iommu.c

+3
Original file line numberDiff line numberDiff line change
@@ -2208,6 +2208,9 @@ static long spapr_tce_unset_window(struct iommu_table_group *table_group, int nu
22082208
const char *win_name;
22092209
int ret = -ENODEV;
22102210

2211+
if (!tbl) /* The table was never created OR window was never opened */
2212+
return 0;
2213+
22112214
mutex_lock(&dma_win_init_mutex);
22122215

22132216
if ((num == 0) && is_default_window_table(table_group, tbl))

0 commit comments

Comments
 (0)