Re: [PATCH] Doc: admin-guide: Add entry for kvm_cma_resv_ratio kernel param

2020-09-16 Thread Satheesh Rajendran
Hi Randy, Thanks for the comments, will send a V2 fixing them. On Tue, Sep 15, 2020 at 11:18:52PM -0700, Randy Dunlap wrote: > On 9/15/20 11:11 PM, sathn...@linux.vnet.ibm.com wrote: > > From: Satheesh Rajendran > > > > Add document entry for kvm_cma_resv_ratio kernel pa

Re: [PATCH v5 05/10] powerpc/smp: Dont assume l2-cache to be superset of sibling

2020-09-13 Thread Satheesh Rajendran
On Fri, Sep 11, 2020 at 09:55:23PM +1000, Michael Ellerman wrote: > Srikar Dronamraju writes: > > Current code assumes that cpumask of cpus sharing a l2-cache mask will > > always be a superset of cpu_sibling_mask. > > > > Lets stop that assumption. cpu_l2_cache_mask is a superset of > > cpu_sibli

Re: [PATCH 0/7] Optimization to improve cpu online/offline on Powerpc

2020-07-29 Thread Satheesh Rajendran
this series: # dmesg|grep smp [0.067744] smp: Bringing up secondary CPUs ... [5.416910] smp: Brought up 1 node, 2048 CPUs Tested-by: Satheesh Rajendran Regards, -Satheesh > > Architecture:ppc64le > Byte Order: Little Endian > CPU(s): 160 >

[PATCH V2] powerpc/pseries/svm: Remove unwanted check for shared_lppaca_size

2020-06-19 Thread Satheesh Rajendran
wed-by: Laurent Dufour Reviewed-by: Thiago Jung Bauermann Signed-off-by: Satheesh Rajendran --- V2: Added Reviewed by Thiago and Laurent. Added Fixes tag as per Thiago suggest. V1: https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20200609105731.14032-1-sathn...@linux.vnet.ibm.com/ --

[PATCH V2] powerpc/pseries/svm: Drop unused align argument in alloc_shared_lppaca() function

2020-06-12 Thread Satheesh Rajendran
by: Thiago Jung Bauermann Signed-off-by: Satheesh Rajendran --- V2: Added reviewed by Thiago. Dropped align argument as per Michael suggest. Modified commit msg. V1: http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20200609113909.17236-1-sathn...@linux.vnet.ibm.com/ --- arch/powerpc/ker

[PATCH] powerpc/pseries/svm: Fixup align argument in alloc_shared_lppaca() function

2020-06-09 Thread Satheesh Rajendran
Argument "align" in alloc_shared_lppaca() function was unused inside the function. Let's fix it and update code comment. Cc: linux-ker...@vger.kernel.org Cc: Thiago Jung Bauermann Cc: Ram Pai Cc: Sukadev Bhattiprolu Cc: Laurent Dufour Signed-off-by: Satheesh Rajendran --

[PATCH] powerpc/pseries/svm: Remove unwanted check for shared_lppaca_size

2020-06-09 Thread Satheesh Rajendran
pSeries which is not necessary, let's remove it. Cc: linux-ker...@vger.kernel.org Cc: Thiago Jung Bauermann Cc: Ram Pai Cc: Sukadev Bhattiprolu Cc: Laurent Dufour Signed-off-by: Satheesh Rajendran --- arch/powerpc/kernel/paca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v3] selftests: powerpc: Fix CPU affinity for child process

2020-06-09 Thread Satheesh Rajendran
dependent on the number of CPUs as > reported by get_nprocs(). > > Fixes: 00b7ec5c9cf3 ("selftests/powerpc: Import Anton's context_switch2 > benchmark") > Reported-by: Shirisha Ganta > Signed-off-by: Sandipan Das > Signed-off-by: Harish > --- Reviewed-by: Sa

Re: [PATCH v2] selftests: powerpc: Fix CPU affinity for child process

2020-06-09 Thread Satheesh Rajendran
On Tue, Jun 09, 2020 at 09:10:05AM +0530, Harish wrote: > On systems with large number of cpus, test fails trying to set > affinity for child process by calling sched_setaffinity() with > smaller size for cpuset. This patch fixes it by making sure that > the size of allocated cpu set is dependent

Re: [mainline][Oops][bisected 2ba3e6 ] 5.7.0 boot fails with kernel panic on powerpc

2020-06-03 Thread Satheesh Rajendran
ox(mentioned in Note) and your below patch helped solving that for my environment and am able to boot the system fine. ... Fedora 31 (Thirty One) Kernel 5.7.0-gd6f9469a0-dirty on an ppc64le (hvc0) login: Tested-by: Satheesh Rajendran Note: for the record, here is the boot failure call trace.

Re: [PATCH 2/3] powerpc/numa: Early request for home node associativity

2019-08-23 Thread Satheesh Rajendran
pacas. Hence call smp_setup_pacas before numa_setup_cpus. > > Signed-off-by: Srikar Dronamraju > Cc: Michael Ellerman > Cc: Nicholas Piggin > Cc: Nathan Lynch > Cc: linuxppc-dev@lists.ozlabs.org > Reported-by: Satheesh Rajendran > Reported-by: Abdul Haleem > --- > ar

Re: [PATCH] powerpc: mm: Limit rma_size to 1TB when running without HV mode

2019-07-10 Thread Satheesh Rajendran
Power8 compat guest boots fine with mem >1024G on Power9 host. Tested-by: Satheesh Rajendran Host: P9; kernel: 5.2.0-00915-g5ad18b2e60b7 Before this patch: Guest crashes.. [0.00] BUG: Kernel NULL pointer dereference at 0x0028 [0.00] Faulting instruction address: 0xc

Re: [PATCH] recordmcount: Fix spurious mcount entries on powerpc

2019-06-27 Thread Satheesh Rajendran
ppc/merge branch latest commit 850f6274c5b5 was failing to boot IBM Power8 Box, and the failure got resolved with this patch. https://github.com/linuxppc/issues/issues/254 # git log -2 --oneline 0e0f55b31ea8 (HEAD -> issue_254) recordmcount: Fix spurious mcount entries on powerpc 850f6274c5b5 (origin/me

Re: [PATCH v3 3/3] powerpc: Add support to initialize ima policy rules

2019-06-10 Thread Satheesh Rajendran
On Mon, Jun 10, 2019 at 04:33:57PM -0400, Nayna Jain wrote: > PowerNV secure boot relies on the kernel IMA security subsystem to > perform the OS kernel image signature verification. Since each secure > boot mode has different IMA policy requirements, dynamic definition of > the policy rules based

Re: [PATCH 4/4] mm/vmalloc: Hugepage vmalloc mappings

2019-06-10 Thread Satheesh Rajendran
On Mon, Jun 10, 2019 at 03:49:48PM +1000, Nicholas Piggin wrote: > Nicholas Piggin's on June 10, 2019 2:38 pm: > > +static int vmap_hpages_range(unsigned long start, unsigned long end, > > + pgprot_t prot, struct page **pages, > > + unsigned int page_shift)

Re: [RFC PATCH V2 3/3] mm/nvdimm: Use correct #defines instead of opencoding

2019-05-22 Thread Satheesh Rajendran
On Wed, May 22, 2019 at 01:57:01PM +0530, Aneesh Kumar K.V wrote: > The nfpn related change is needed to fix the kernel message > > "number of pfns truncated from 2617344 to 163584" > > The change makes sure the nfpns stored in the superblock is right value. > > Signed-off-by: Aneesh Kumar K.V

Re: [PATCH v5 00/16] KVM: PPC: Book3S HV: add XIVE native exploitation mode

2019-04-29 Thread Satheesh Rajendran
On Wed, Apr 10, 2019 at 07:04:32PM +0200, Cédric Le Goater wrote: > Hello, > > GitHub trees available here : > > QEMU sPAPR: > > https://github.com/legoater/qemu/commits/xive-next > > Linux/KVM: > > https://github.com/legoater/linux/commits/xive-5.1 Hi, Xive(both ic-mode=dual and ic-mo

Re: [PATCH v8 1/2] powerpc/64s: reimplement book3s idle code in C

2019-04-08 Thread Satheesh Rajendran
Hi, Hit with below kernel crash during Power8 Host boot with this patch series on top of powerpc merge branch commit https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=merge&id=6a821ffee18a6e6c0027c523fa8c958df98ca361 built with ppc64le_defconfig Host Console log: [

Re: [PATCH] Disable kcov for slb routines.

2019-03-06 Thread Satheesh Rajendran
; > Signed-off-by: Mahesh Salgaonkar > --- > arch/powerpc/mm/Makefile |1 + > 1 file changed, 1 insertion(+) Fixes: https://github.com/linuxppc/issues/issues/230 Tested-by: Satheesh Rajendran > > diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile > index d4

Re: [PATCH v3 0/4] Fixes for 3 separate NMI reentrancy bugs

2019-02-25 Thread Satheesh Rajendran
On Tue, Feb 26, 2019 at 04:08:57PM +1000, Nicholas Piggin wrote: > This series fixes several similar but unrelated bugs with NMIs > clobbering live registers without noticing it, because MSR[RI] is set. > Pretty rare bugs, but serious silent corruption consequences. > > For the most part these can

Re: [PATCH v5 0/5] powerpc: system call table generation support

2018-12-17 Thread Satheesh Rajendran
Hi Firoz, On Thu, Dec 13, 2018 at 02:32:45PM +0530, Firoz Khan wrote: > The purpose of this patch series is, we can easily > add/modify/delete system call table support by cha- > nging entry in syscall.tbl file instead of manually > changing many files. The other goal is to unify the > system cal

Re: [PATCH v4 0/5] powerpc: system call table generation support

2018-12-06 Thread Satheesh Rajendran
On Fri, Dec 07, 2018 at 11:41:35AM +0530, Firoz Khan wrote: > The purpose of this patch series is, we can easily > add/modify/delete system call table support by cha- > nging entry in syscall.tbl file instead of manually > changing many files. The other goal is to unify the > system call table gen

Re: [PATCH 0/3] System call table generation support

2018-11-29 Thread Satheesh Rajendran
On Thu, Nov 29, 2018 at 01:48:16PM +0530, Firoz Khan wrote: > Hi Sathish, > > Thanks for your email. > > On Thu, 29 Nov 2018 at 12:05, Satheesh Rajendran > wrote: > > > > On Fri, Sep 14, 2018 at 02:02:57PM +0530, Firoz Khan wrote: > > > The purpose o

Re: [PATCH] powerpc/numa: fix hot-added CPU on memory-less node

2018-11-15 Thread Satheesh Rajendran
On Wed, Nov 14, 2018 at 06:03:19PM +0100, Laurent Vivier wrote: > Trying to hotplug a CPU on an empty NUMA node (without > memory or CPU) crashes the kernel when the CPU is onlined. > > During the onlining process, the kernel calls start_secondary() > that ends by calling > set_numa_mem(local_memo

Re: [PATCH] powerpc: Add KVM guest defconfig

2018-11-12 Thread Satheesh Rajendran
On Mon, Nov 12, 2018 at 11:24:08PM +1100, Michael Ellerman wrote: > Satheesh Rajendran writes: > > > On Thu, Nov 08, 2018 at 04:23:07PM -0200, Breno Leitao wrote: > >> hi Satheesh, > >> > >> On 11/08/2018 03:08 AM, sathn...@linux.vnet.ibm.com wrote:

Re: [PATCH] powerpc: Add KVM guest defconfig

2018-11-09 Thread Satheesh Rajendran
On Thu, Nov 08, 2018 at 04:23:07PM -0200, Breno Leitao wrote: > hi Satheesh, > > On 11/08/2018 03:08 AM, sathn...@linux.vnet.ibm.com wrote: > > --- /dev/null > > +++ b/arch/powerpc/configs/guest.config > > @@ -0,0 +1,14 @@ > > +CONFIG_VIRTIO_BLK=y > > +CONFIG_VIRTIO_BLK_SCSI=y > > +CONFIG_SCSI_VIR

Re: System not booting since dm changes? (was Linux 4.20-rc1)

2018-11-05 Thread Satheesh Rajendran
On Mon, Nov 05, 2018 at 08:51:57AM -0500, Mike Snitzer wrote: > On Mon, Nov 05 2018 at 5:25am -0500, > Michael Ellerman wrote: > > > Linus Torvalds writes: > > ... > > > Mike Snitzer (1): > > > device mapper updates > > > > Hi Mike, > > > > Replying here because I can't find the device-ma