[PATCH 3/5] powerpc/eeh: Freeze PE before PE reset

2014-08-17 Thread Gavin Shan
The patch adds one more option (EEH_OPT_FREEZE_PE) to set_option() method to proactively freeze PE, which will be issued before resetting pass-throughed PE to drop MMIO access during reset because it's always contributing to recursive EEH error. Signed-off-by: Gavin Shan gws...@linux.vnet.ibm.com

[PATCH 0/5] powerpc: EEH fixes

2014-08-17 Thread Gavin Shan
The series of patches is to fix recursive EEH error during recovery for VFIO-PCI except some cleanup. The recursive EEH error is caused by MMIO access when the PE is under reset or the PCI device isn't enabled yet. The solution is to freeze the PE until the PCI device is enabled after PE reset.

Re: Build regressions/improvements in v3.17-rc1

2014-08-17 Thread Geert Uytterhoeven
On Sun, Aug 17, 2014 at 10:45 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: 16 regressions: + /scratch/kisskb/src/arch/powerpc/include/asm/floppy.h: error: 'isa_bridge_pcidev' undeclared (first use in this function): = 142:20 powerpc-randconfig +

[PATCH v15 4/7] powerpc: add pmd_[dirty|mkclean] for THP

2014-08-17 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page. This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE support. Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras