Re: [PATCH v3 2/2] pseries/eeh: Add Pseries pcibios_bus_add_device

2017-10-27 Thread Bjorn Helgaas
On Tue, Oct 17, 2017 at 06:13:35PM -0500, Juan Alvarez wrote: > On 10/17/17 1:52 PM, Bjorn Helgaas wrote: > > I'm suggesting that maybe there should be a generic way to prevent > > binding to VF devices that works for everybody and doesn't require any > > arch-specific code at all. > > The patch t

Re: [PATCH 4/4] powerpc/kprobes: refactor kprobe_lookup_name for safer string operations

2017-10-27 Thread Naveen N. Rao
On 2017/10/25 04:35PM, Masami Hiramatsu wrote: > On Mon, 23 Oct 2017 22:07:41 +0530 > "Naveen N. Rao" wrote: > > > Use safer string manipulation functions when dealing with a > > user-provided string in kprobe_lookup_name(). > > > > What would you mean "safer" here? using strnchr()? > Could you

Re: [PATCH 1/4] powerpc/kprobes: Disable preemption before invoking probe handler for optprobes

2017-10-27 Thread Naveen N. Rao
On 2017/10/25 02:18AM, Masami Hiramatsu wrote: > On Mon, 23 Oct 2017 22:07:38 +0530 > "Naveen N. Rao" wrote: > > > Per Documentation/kprobes.txt, probe handlers need to be invoked with > > preemption disabled. Update optimized_callback() to do so. Also move > > get_kprobe_ctlblk() invocation post

[PATCH] powerpc/kernel/sysfs: Export ldbar spr to sysfs

2017-10-27 Thread Anju T Sudhakar
Add ldbar spr to sysfs. The spr will hold thread level In-Memory Collection (IMC) counter configuration data. Signed-off-by: Anju T Sudhakar Acked-by: Madhavan Srinivasan --- arch/powerpc/kernel/sysfs.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/kernel/sysfs.c b/a

Re: lpar issue for ZONE_DEVICE p2pmem in 4.14-rc

2017-10-27 Thread Oliver
On Thu, Oct 26, 2017 at 1:34 AM, Oliver wrote: > On Tue, Oct 24, 2017 at 7:17 AM, Stephen Bates wrote: >> >>> [3.537780] lpar: Attempting to resize HPT to shift 21 >>> [3.539251] Unable to resize hash page table to target order 21: -1 >>> [3.541079] Unable to create mapping for hot a