Re: [kvm-unit-tests PATCH v9 29/31] powerpc: Remove remnants of ppc64 directory and build structure

2024-06-05 Thread Nicholas Piggin
On Tue Jun 4, 2024 at 11:36 PM AEST, Andrew Jones wrote: > On Tue, Jun 04, 2024 at 12:49:51PM GMT, Thomas Huth wrote: > > On 04/05/2024 14.28, Nicholas Piggin wrote: > > > This moves merges ppc64 directories and files into powerpc, and > > > merges the 3 makefiles into one. > > > > > > The configu

[PATCH v2 0/2] Fix doorbell emulation for v2 API on PPC

2024-06-05 Thread Gautam Menghani
Doorbell emulation for KVM on PAPR guests is broken as support for DPDES was not added in initial patch series [1]. Add DPDES support and doorbell handling support for V2 API. [1] lore.kernel.org/linuxppc-dev/20230914030600.16993-1-jniet...@gmail.com Changes in v2: 1. Split DPDES support into it

[PATCH v2 2/2] arch/powerpc/kvm: Fix doorbell emulation for v2 API

2024-06-05 Thread Gautam Menghani
Doorbell emulation is broken for KVM on PAPR guests as support for DPDES was not added in the initial patch series. Due to this, a KVM on PAPR guest with SMT > 1 cannot be booted with the XICS interrupt controller as doorbells are setup in the initial probe path when using XICS (pSeries_smp_probe()

[PATCH v2 1/2] arch/powerpc/kvm: Add DPDES support in helper library for Guest state buffer

2024-06-05 Thread Gautam Menghani
Add support for using DPDES in the library for using guest state buffers. DPDES support is needed for enabling usage of doorbells in a L2 KVM on PAPR guest. Fixes: 6ccbbc33f06a ("KVM: PPC: Add helper library for Guest State Buffers") Cc: sta...@vger.kernel.org # v6.7 Signed-off-by: Gautam Menghan

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-05 Thread AngeloGioacchino Del Regno
Il 02/06/24 17:57, Andy Shevchenko ha scritto: Make two APIs look similar. Hence convert match_string() to be a 2-argument macro. In order to avoid unneeded churn, convert all users as well. There is no functional change intended. Signed-off-by: Andy Shevchenko For MediaTek Reviewed-by: Ange

Re: [PATCH 04/23] scsi: initialize scsi midlayer limits before allocating the queue

2024-06-05 Thread Michael Ellerman
Michael Ellerman writes: > Christoph Hellwig writes: >> On Fri, May 31, 2024 at 12:28:21AM +1000, Michael Ellerman wrote: >>> No that's wrong. The actual hardware page size is 4K, but >>> CONFIG_PAGE_SIZE and PAGE_SHIFT etc. is 64K. >>> >>> So at least for this user the driver used to work with

[Bug 218858] scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices might not be configured

2024-06-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218858 --- Comment #20 from Michael Ellerman (mich...@ellerman.id.au) --- Please try the patch here: https://lore.kernel.org/linuxppc-dev/87wmn3pntq.fsf@mail.lhotse/ -- You may reply to this email to add a comment. You are receiving this mail because:

[PATCH v2 0/8] KVM: PPC: Book3S HV: Nested guest migration fixes

2024-06-05 Thread Shivaprasad G Bhat
The series fixes the issues exposed by the kvm-unit-tests[1] sprs-migration test. The SDAR, MMCR3 were seen to have some typo/refactoring bugs. The first two patches fix them. The remaining patches take care of save-restoring the guest state elements for DEXCR, HASHKEYR and HASHPKEYR SPRs with PH

[PATCH v2 1/8] KVM: PPC: Book3S HV: Fix the set_one_reg for MMCR3

2024-06-05 Thread Shivaprasad G Bhat
The kvmppc_set_one_reg_hv() wrongly get() the value instead of set() for MMCR3. Fix the same. Fixes: 5752fe0b811b ("KVM: PPC: Book3S HV: Save/restore new PMU registers") Signed-off-by: Shivaprasad G Bhat Reviewed-by: Nicholas Piggin --- arch/powerpc/kvm/book3s_hv.c |2 +- 1 file changed, 1

[PATCH v2 2/8] KVM: PPC: Book3S HV: Fix the get_one_reg of SDAR

2024-06-05 Thread Shivaprasad G Bhat
The kvmppc_get_one_reg_hv() for SDAR is wrongly getting the SIAR instead of SDAR, possibly a paste error emanating from the previous refactoring. Patch fixes the wrong get_one_reg() for the same. Fixes: ebc88ea7a6ad ("KVM: PPC: Book3S HV: Use accessors for VCPU registers") Signed-off-by: Shivapra

[PATCH v2 4/8] KVM: PPC: Book3S HV nestedv2: Keep nested guest DEXCR in sync

2024-06-05 Thread Shivaprasad G Bhat
The nestedv2 APIs has the guest state element defined for DEXCR for the save-restore with L0. However, its ignored in the code. The patch takes care of this for the DEXCR GSID. Signed-off-by: Shivaprasad G Bhat Reviewed-by: Nicholas Piggin --- arch/powerpc/kvm/book3s_hv_nestedv2.c |6 +

[PATCH v2 5/8] KVM: PPC: Book3S HV: Add one-reg interface for HASHKEYR register

2024-06-05 Thread Shivaprasad G Bhat
The patch adds a one-reg register identifier which can be used to read and set the virtual HASHKEYR for the guest during enter/exit with KVM_REG_PPC_HASHKEYR. The specific SPR KVM API documentation too updated. Signed-off-by: Shivaprasad G Bhat Reviewed-by: Nicholas Piggin --- Documentation/vir

[PATCH v2 6/8] KVM: PPC: Book3S HV nestedv2: Keep nested guest HASHKEYR in sync

2024-06-05 Thread Shivaprasad G Bhat
The nestedv2 APIs has the guest state element defined for HASHKEYR for the save-restore with L0. However, its ignored in the code. The patch takes care of this for the HASHKEYR GSID. Signed-off-by: Shivaprasad G Bhat Reviewed-by: Nicholas Piggin --- arch/powerpc/kvm/book3s_hv_nestedv2.c |6

[PATCH v2 7/8] KVM: PPC: Book3S HV: Add one-reg interface for HASHPKEYR register

2024-06-05 Thread Shivaprasad G Bhat
The patch adds a one-reg register identifier which can be used to read and set the virtual HASHPKEYR for the guest during enter/exit with KVM_REG_PPC_HASHPKEYR. The specific SPR KVM API documentation too updated. Signed-off-by: Shivaprasad G Bhat --- Documentation/virt/kvm/api.rst |1 +

[PATCH v2 8/8] KVM: PPC: Book3S HV nestedv2: Keep nested guest HASHPKEYR in sync

2024-06-05 Thread Shivaprasad G Bhat
The nestedv2 APIs has the guest state element defined for HASHPKEYR for the save-restore with L0. However, its ignored in the code. The patch takes care of this for the HASHPKEYR GSID. Signed-off-by: Shivaprasad G Bhat --- arch/powerpc/kvm/book3s_hv_nestedv2.c |6 ++ 1 file changed, 6 i

Re: [PATCH 6/6] KVM: PPC: Book3S HV: Add one-reg interface for HASHKEYR register

2024-06-05 Thread Shivaprasad G Bhat
On 6/4/24 11:37, Nicholas Piggin wrote: On Mon Jun 3, 2024 at 9:15 PM AEST, Shivaprasad G Bhat wrote: The patch adds a one-reg register identifier which can be used to read and set the virtual HASHKEYR for the guest during enter/exit with KVM_REG_PPC_HASHKEYR. The specific SPR KVM API documentat

[PATCH v2 3/8] KVM: PPC: Book3S HV: Add one-reg interface for DEXCR register

2024-06-05 Thread Shivaprasad G Bhat
The patch adds a one-reg register identifier which can be used to read and set the DEXCR for the guest during enter/exit with KVM_REG_PPC_DEXCR. The specific SPR KVM API documentation too updated. Signed-off-by: Shivaprasad G Bhat Reviewed-by: Nicholas Piggin --- Documentation/virt/kvm/api.rst

[Bug 218858] scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices might not be configured

2024-06-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218858 --- Comment #21 from doru iorgulescu (doru.iorgules...@gmail.com) --- Thank You Very much Please send to Linus for aproval Thank You Regards -- You may reply to this email to add a comment. You are receiving this mail because: You are watching

[PATCH v2] PCI/AER: Print error message as per the TODO

2024-06-05 Thread Abhinav Jain
Print the add device error in find_device_iter() Signed-off-by: Abhinav Jain PATCH v1 link : https://lore.kernel.org/all/20240415161055.8316-1-jain.abhinav...@gmail.com/ Changes since v1: - Replaced pr_err() with pr_notice() - Removed unncessary whitespaces --- drivers/pci/pcie/aer.c | 4 ++

Re: [PATCH v2 0/2] ASoC: fsl_xcvr: Support i.MX95 platform

2024-06-05 Thread Mark Brown
On Tue, 14 May 2024 11:12:07 +0800, Shengjiu Wang wrote: > On i.MX95 wakeup domain, there is one instance of Audio XCVR > supporting SPDIF mode with a connection to the Audio XCVR physical > interface. > > changes in v2: > - Merge patch 1&2, 3&4 from v1 together. > - Add more comments in commit me

Re: [PATCH v4 0/2] ASoC: fsl_xcvr: Support i.MX95 platform

2024-06-05 Thread Mark Brown
On Wed, 29 May 2024 16:40:00 +0800, Shengjiu Wang wrote: > On i.MX95 wakeup domain, there is one instance of Audio XCVR > supporting SPDIF mode with a connection to the Audio XCVR physical > interface. > > changes in v4: > - refine the constarint for 'clocks' according to Rob's comments > > [...]

Re: [PATCH v2] PCI/AER: Print error message as per the TODO

2024-06-05 Thread Bjorn Helgaas
On Wed, Jun 05, 2024 at 09:23:44PM +, Abhinav Jain wrote: > Print the add device error in find_device_iter() > > Signed-off-by: Abhinav Jain > > PATCH v1 link : > https://lore.kernel.org/all/20240415161055.8316-1-jain.abhinav...@gmail.com/ > > Changes since v1: > - Replaced pr_err() with

[PATCH v2 0/6] ASoC: Drop or replace of_gpio.h

2024-06-05 Thread Andy Shevchenko
Replace or drop the legacy header that is subject to remove. Not all of them were compile-tested, the series might have hidden compilation errors. In v3: - moved aw88399 from the "Remove ..." patch to the "Replace ..." (LKP) In v2: - added tags (Kuninori, Charles) - ripped out TAS2781 (it's a mes

[PATCH v2 2/6] ASoC: fsl: Remove unused of_gpio.h

2024-06-05 Thread Andy Shevchenko
of_gpio.h is deprecated and subject to remove. The drivers in question don't use it, simply remove the unused header. Signed-off-by: Andy Shevchenko --- sound/soc/fsl/imx-es8328.c | 1 - sound/soc/fsl/imx-rpmsg.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/sound/soc/fsl/imx-es8328.c b

[PATCH v2 1/6] ASoC: codecs: Remove unused of_gpio.h

2024-06-05 Thread Andy Shevchenko
of_gpio.h is deprecated and subject to remove. The drivers in question don't use it, simply remove the unused header. Reviewed-by: Kuninori Morimoto Reviewed-by: Charles Keepax Signed-off-by: Andy Shevchenko --- sound/soc/codecs/ak4118.c| 1 - sound/soc/codecs/ak4458.c| 1 - so

[PATCH v2 4/6] ASoC: codecs: Replace of_gpio.h by proper one

2024-06-05 Thread Andy Shevchenko
of_gpio.h is deprecated and subject to remove. The driver doesn't use it directly, replace it with what is really being used. Signed-off-by: Andy Shevchenko --- sound/soc/codecs/aw88395/aw88395.c | 2 +- sound/soc/codecs/aw88399.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH v2 3/6] ASoC: rockchip: Remove unused of_gpio.h

2024-06-05 Thread Andy Shevchenko
of_gpio.h is deprecated and subject to remove. The drivers in question don't use it, simply remove the unused header. Signed-off-by: Andy Shevchenko --- sound/soc/rockchip/rockchip_i2s.c | 1 - sound/soc/rockchip/rockchip_spdif.c | 1 - 2 files changed, 2 deletions(-) diff --git a/sound/soc/r

[PATCH v2 5/6] ASoC: generic: Replace of_gpio.h by proper one

2024-06-05 Thread Andy Shevchenko
of_gpio.h is deprecated and subject to remove. The driver doesn't use it directly, replace it with what is really being used. Acked-by: Kuninori Morimoto Signed-off-by: Andy Shevchenko --- sound/soc/generic/audio-graph-card2-custom-sample.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-

[PATCH v2 6/6] ASoC: samsung: Replace of_gpio.h by proper one

2024-06-05 Thread Andy Shevchenko
of_gpio.h is deprecated and subject to remove. The driver doesn't use it directly, replace it with what is really being used. Signed-off-by: Andy Shevchenko --- sound/soc/samsung/aries_wm8994.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/samsung/aries_wm8994.c b

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Erhard Furtner
On Tue, 4 Jun 2024 20:03:27 -0700 Yosry Ahmed wrote: > Could you check if the attached patch helps? It basically changes the > number of zpools from 32 to min(32, nr_cpus). Thanks! The patch does not fix the issue but it helps. Means I still get to see the 'kswapd0: page allocation failure' in

[PATCH v3] PCI/AER: Log error message if there are too many PCI devices with errors

2024-06-05 Thread Abhinav Jain
Added pci_err() to log PCI device information on which iteration fails. Added pci_err() to log note if there are too many failed devices. Signed-off-by: Abhinav Jain --- PATCH v2: https://lore.kernel.org/all/20240605212344.21808-1-jain.abhinav...@gmail.com/ Changes since v2: - Switched to pci_

Re: [PATCH v2] PCI/AER: Print error message as per the TODO

2024-06-05 Thread Abhinav Jain
On Wed, 5 Jun 2024 16:58:48 -0500, Bjorn Helgaas wrote: > - It doesn't apply to -rc1 (the TODO message is missing). In PCI, > we normally apply patches on topic branches based on -rc1. Thank you for the detailed feedback. I was looking at mainline only. > - The subject should be more specific

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Yosry Ahmed
On Wed, Jun 5, 2024 at 4:04 PM Erhard Furtner wrote: > > On Tue, 4 Jun 2024 20:03:27 -0700 > Yosry Ahmed wrote: > > > Could you check if the attached patch helps? It basically changes the > > number of zpools from 32 to min(32, nr_cpus). > > Thanks! The patch does not fix the issue but it helps.

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Yu Zhao
On Wed, Jun 5, 2024 at 5:42 PM Yosry Ahmed wrote: > > On Wed, Jun 5, 2024 at 4:04 PM Erhard Furtner wrote: > > > > On Tue, 4 Jun 2024 20:03:27 -0700 > > Yosry Ahmed wrote: > > > > > Could you check if the attached patch helps? It basically changes the > > > number of zpools from 32 to min(32, nr

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Yosry Ahmed
On Wed, Jun 5, 2024 at 4:53 PM Yu Zhao wrote: > > On Wed, Jun 5, 2024 at 5:42 PM Yosry Ahmed wrote: > > > > On Wed, Jun 5, 2024 at 4:04 PM Erhard Furtner wrote: > > > > > > On Tue, 4 Jun 2024 20:03:27 -0700 > > > Yosry Ahmed wrote: > > > > > > > Could you check if the attached patch helps? It b

[Bug 218858] scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices might not be configured

2024-06-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218858 --- Comment #22 from Michael Ellerman (mich...@ellerman.id.au) --- Can you please confirm that the patch fixes the issue for you. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assigne

[Bug 218858] scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices might not be configured

2024-06-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218858 --- Comment #23 from doru iorgulescu (doru.iorgules...@gmail.com) --- I am in compilation When is finished I send to You the results Thank You Very Mutch Regards -- You may reply to this email to add a comment. You are receiving this mail beca

Re: [PATCH v2 1/2] arch/powerpc/kvm: Add DPDES support in helper library for Guest state buffer

2024-06-05 Thread Nicholas Piggin
On Wed Jun 5, 2024 at 9:39 PM AEST, Gautam Menghani wrote: > Add support for using DPDES in the library for using guest state > buffers. DPDES support is needed for enabling usage of doorbells in a > L2 KVM on PAPR guest. > Reviewed-by: Nicholas Piggin > Fixes: 6ccbbc33f06a ("KVM: PPC: Add help

Re: [PATCH v2 2/2] arch/powerpc/kvm: Fix doorbell emulation for v2 API

2024-06-05 Thread Nicholas Piggin
On Wed Jun 5, 2024 at 9:39 PM AEST, Gautam Menghani wrote: > Doorbell emulation is broken for KVM on PAPR guests as support for > DPDES was not added in the initial patch series. Due to this, a KVM on > PAPR guest with SMT > 1 cannot be booted with the XICS interrupt > controller as doorbells are s

Re: [PATCH v2 0/2] Fix doorbell emulation for v2 API on PPC

2024-06-05 Thread Nicholas Piggin
On Wed Jun 5, 2024 at 9:39 PM AEST, Gautam Menghani wrote: > Doorbell emulation for KVM on PAPR guests is broken as support for DPDES > was not added in initial patch series [1]. > Add DPDES support and doorbell handling support for V2 API. Looks good, thanks. So fix for v1 doorbells is coming?

Re: [PATCH v2 0/8] KVM: PPC: Book3S HV: Nested guest migration fixes

2024-06-05 Thread Nicholas Piggin
On Wed Jun 5, 2024 at 11:06 PM AEST, Shivaprasad G Bhat wrote: > The series fixes the issues exposed by the kvm-unit-tests[1] > sprs-migration test. > > The SDAR, MMCR3 were seen to have some typo/refactoring bugs. > The first two patches fix them. > > The remaining patches take care of save-restor

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Michael Ellerman
David Hildenbrand writes: > On 01.06.24 08:01, Yu Zhao wrote: >> On Wed, May 15, 2024 at 4:06 PM Yu Zhao wrote: ... >> >> Your system has 2GB memory and it uses zswap with zsmalloc (which is >> good since it can allocate from the highmem zone) and zstd/lzo (which >> doesn't matter much). Somehow

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Yu Zhao
On Wed, Jun 5, 2024 at 9:12 PM Michael Ellerman wrote: > > David Hildenbrand writes: > > On 01.06.24 08:01, Yu Zhao wrote: > >> On Wed, May 15, 2024 at 4:06 PM Yu Zhao wrote: > ... > >> > >> Your system has 2GB memory and it uses zswap with zsmalloc (which is > >> good since it can allocate from

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Sergey Senozhatsky
On (24/06/06 10:49), Chengming Zhou wrote: > > Thanks for trying this out. This is interesting, so even two zpools is > > too much fragmentation for your use case. > > > > I think there are multiple ways to go forward here: > > (a) Make the number of zpools a config option, leave the default as >

Re: [PATCH v2 0/2] Fix doorbell emulation for v2 API on PPC

2024-06-05 Thread Gautam Menghani
On Thu, Jun 06, 2024 at 01:00:19PM GMT, Nicholas Piggin wrote: > On Wed Jun 5, 2024 at 9:39 PM AEST, Gautam Menghani wrote: > > Doorbell emulation for KVM on PAPR guests is broken as support for DPDES > > was not added in initial patch series [1]. > > Add DPDES support and doorbell handling support

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Sergey Senozhatsky
On (24/06/06 12:46), Chengming Zhou wrote: > >> Agree, I think we should try to improve locking scalability of zsmalloc. > >> I have some thoughts to share, no code or test data yet: > >> > >> 1. First, we can change the pool global lock to per-class lock, which > >>is more fine-grained. > > >

Re: [PATCH v2 0/2] Fix doorbell emulation for v2 API on PPC

2024-06-05 Thread Gautam Menghani
On Wed, Jun 05, 2024 at 05:09:08PM GMT, Gautam Menghani wrote: > Doorbell emulation for KVM on PAPR guests is broken as support for DPDES > was not added in initial patch series [1]. > Add DPDES support and doorbell handling support for V2 API. > > [1] lore.kernel.org/linuxppc-dev/20230914030600.

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Chengming Zhou
On 2024/6/6 07:41, Yosry Ahmed wrote: > On Wed, Jun 5, 2024 at 4:04 PM Erhard Furtner wrote: >> >> On Tue, 4 Jun 2024 20:03:27 -0700 >> Yosry Ahmed wrote: >> >>> Could you check if the attached patch helps? It basically changes the >>> number of zpools from 32 to min(32, nr_cpus). >> >> Thanks! T

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Chengming Zhou
On 2024/6/6 12:31, Sergey Senozhatsky wrote: > On (24/06/06 10:49), Chengming Zhou wrote: >>> Thanks for trying this out. This is interesting, so even two zpools is >>> too much fragmentation for your use case. >>> >>> I think there are multiple ways to go forward here: >>> (a) Make the number of z

Re: [PATCH 04/23] scsi: initialize scsi midlayer limits before allocating the queue

2024-06-05 Thread Christoph Hellwig
On Wed, Jun 05, 2024 at 10:37:53PM +1000, Michael Ellerman wrote: > On the other hand increasing max_segment_size to 64K while leaving > MAX_DBDMA_SEG > at 0xff00 seems to work fine. And that's effectively what's been happening on > existing kernels until now. Exactly. > > The only question is

Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-05 Thread Chengming Zhou
On 2024/6/6 13:43, Sergey Senozhatsky wrote: > On (24/06/06 12:46), Chengming Zhou wrote: Agree, I think we should try to improve locking scalability of zsmalloc. I have some thoughts to share, no code or test data yet: 1. First, we can change the pool global lock to per-class l

Re: [PATCH V3 05/14] tools/perf: Add disasm_line__parse to parse raw instruction for powerpc

2024-06-05 Thread Namhyung Kim
Hello, On Sat, Jun 01, 2024 at 11:39:32AM +0530, Athira Rajeev wrote: > Currently, the perf tool infrastructure disasm_line__parse function to > parse disassembled line. > > Example snippet from objdump: > objdump --start-address= --stop-address= -d > --no-show-raw-insn -C > > c10224

Re: [PATCH V3 06/14] tools/perf: Update parameters for reg extract functions to use raw instruction on powerpc

2024-06-05 Thread Namhyung Kim
On Sat, Jun 01, 2024 at 11:39:33AM +0530, Athira Rajeev wrote: > Use the raw instruction code and macros to identify memory instructions, > extract register fields and also offset. The implementation addresses > the D-form, X-form, DS-form instructions. Two main functions are added. > New parse fun

Re: [PATCH V3 10/14] tools/perf: Update instruction tracking for powerpc

2024-06-05 Thread Namhyung Kim
On Sat, Jun 01, 2024 at 11:39:37AM +0530, Athira Rajeev wrote: > Add instruction tracking function "update_insn_state_powerpc" for > powerpc. Example sequence in powerpc: > > ld r10,264(r3) > mr r31,r3 > < > ld r9,312(r31) > > Consider ithe sample is pointing to: "ld r9,312(r31)".