Re: [RFC PATCH 2/2] KVM: PPC: Book3S HV: Work around transactional memory bugs in POWER9

2017-12-11 Thread David Gibson
On Fri, Dec 08, 2017 at 05:11:13PM +1100, Paul Mackerras wrote: > POWER9 has hardware bugs relating to transactional memory and thread > reconfiguration (changes to hardware SMT mode). Specifically, the core > does not have enough storage to store a complete checkpoint of all the > architected sta

Re: [RFC PATCH 1/2] powerpc: Add a CPU feature bit for TM bug workarounds on POWER9 DD2.2

2017-12-11 Thread David Gibson
On Fri, Dec 08, 2017 at 05:09:24PM +1100, Paul Mackerras wrote: > This adds a CPU feature bit which is set for POWER9 DD2.2 processors > which will be used to enable software emulation for some transactional > memory instructions, in order to work around hardware bugs. > > Signed-off-by: Paul Mack

[BUG] drivers/tty/hvc: a possible sleep-in-atomic bug in xen_pv_console_init

2017-12-11 Thread Jia-Ju Bai
According to drivers/tty/hvc/hvc_xen.c, the kernel module may sleep under a spinlock. The function call path is: xen_pv_console_init (acquire the spinlock) xencons_info_pv_init gfn_to_virt (gfn_to_pfn) --> may sleep I do not find a good way to fix it, so I only report. This possible bug is

Re: [PATCH v3 4/4] 44x/fsp2: add irq error handlers

2017-12-11 Thread Alistair Popple
On Friday, 8 December 2017 6:41:02 PM AEDT Ivan Mikhaylov wrote: > add irq error handlers for cmu, plb, opb, mcue, conf > with debug information output in case of problems. > > Signed-off-by: Ivan Mikhaylov Acked-by: Alistair Popple > --- > arch/powerpc/platforms/44x/fsp2.c | 198 >

Re: [PATCH 00/18] crypto: talitos - fixes and performance improvement

2017-12-11 Thread Herbert Xu
On Fri, Dec 08, 2017 at 03:20:40PM +, Horia Geantă wrote: > On 10/12/2017 6:20 PM, Herbert Xu wrote: > > On Fri, Oct 06, 2017 at 03:04:31PM +0200, Christophe Leroy wrote: > >> This serie fixes and improves the talitos crypto driver. > >> > >> First 6 patchs are fixes of failures reported by the

Re: [RFC PATCH kernel] KVM: PPC: Book3S PR: Fix WIMG handling under pHyp

2017-12-11 Thread Alexander Graf
On 24.11.17 00:33, Greg Kurz wrote: > On Wed, 22 Nov 2017 14:42:21 +1100 > Alexey Kardashevskiy wrote: > >> 96df226 "KVM: PPC: Book3S PR: Preserve storage control bits" added WIMG >> bits preserving but it missed 2 special cases: >> - a magic page in kvmppc_mmu_book3s_64_xlate() and >> - guest