[PATCH v2] powerpc/pseries/vas: Use usleep_range() to support HCALL delay

2023-11-28 Thread Haren Myneni
VAS allocate, modify and deallocate HCALLs returns H_LONG_BUSY_ORDER_1_MSEC or H_LONG_BUSY_ORDER_10_MSEC for busy delay and expects OS to reissue HCALL after that delay. But using msleep() will often sleep at least 20 msecs even though the hypervisor expects to reissue these HCALLs after 1 or

Re: [PATCH v1] powerpc: Add PVN support for HeXin C2000 processor

2023-11-28 Thread Qu Shenghui 瞿盛辉
Hi, Nick Thanks for your comments. On 2023/11/25 7:35, Nicholas Piggin wrote: On Thu Nov 23, 2023 at 7:36 PM AEST, Zhao Ke wrote: HeXin Tech Co. has applied for a new PVN from the OpenPower Community for its new processor C2000. The OpenPower has assigned a new PVN and this newly assigned PVN

Re: [PATCH] perf vendor events: Update datasource event name to fix duplicate events

2023-11-28 Thread Athira Rajeev
> On 27-Nov-2023, at 5:32 PM, Disha Goel wrote: > > On 23/11/23 9:31 pm, Athira Rajeev wrote: > >> Running "perf list" on powerpc fails with segfault >> as below: >> >>./perf list >>Segmentation fault (core dumped) >> >> This happens because of duplicate events in the json list. >>

Re: [PATCH] powerpc: Add PVN support for HeXin C2000 processor

2023-11-28 Thread Michael Ellerman
Zhao Ke 赵 可 writes: > On 2023/11/22 9:46, Michael Ellerman wrote: >> Zhao Ke writes: >>> HeXin Tech Co. has applied for a new PVN from the OpenPower Community >>> for its new processor C2000. The OpenPower has assigned a new PVN >>> and this newly assigned PVN is 0x0066, add pvr register related

Re: [PATCH] perf test record+probe_libc_inet_pton: Fix call chain match on powerpc

2023-11-28 Thread Athira Rajeev
> On 26-Nov-2023, at 12:39 PM, Likhitha Korrapati > wrote: > > The perf test "probe libc's inet_pton & backtrace it with ping" fails on > powerpc as below: > > root@xxx perf]# perf test -v "probe libc's inet_pton & backtrace it with > ping" > 85: probe libc's inet_pton & backtrace it with

Re: [PATCH V4] tools/perf: Add perf binary dependent rule for shellcheck log in Makefile.perf

2023-11-28 Thread Athira Rajeev
> On 27-Nov-2023, at 8:21 PM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Nov 27, 2023 at 11:12:57AM +, James Clark escreveu: >> On 23/11/2023 16:02, Athira Rajeev wrote: >>> Add rule in new Makefile "tests/Makefile.tests" for running >>> shellcheck on shell test scripts. This automates

Re: [PATCH v4 05/13] powerpc/rtas: Facilitate high-level call sequences

2023-11-28 Thread Michael Ellerman
Nathan Lynch writes: > Michael Ellerman writes: >> Nathan Lynch via B4 Relay >> writes: >>> diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c >>> index 1fc0b3fffdd1..52f2242d0c28 100644 >>> --- a/arch/powerpc/kernel/rtas.c >>> +++ b/arch/powerpc/kernel/rtas.c >>> @@ -196,6

Re: [PATCH v4 09/13] powerpc/pseries: Add papr-vpd character driver for VPD retrieval

2023-11-28 Thread Michael Ellerman
Nathan Lynch writes: > Michael Ellerman writes: > >> Nathan Lynch via B4 Relay >> writes: >>> From: Nathan Lynch >>> >>> PowerVM LPARs may retrieve Vital Product Data (VPD) for system >>> components using the ibm,get-vpd RTAS function. >> ... >>> >>> diff --git

Re: [PATCH v4 09/13] powerpc/pseries: Add papr-vpd character driver for VPD retrieval

2023-11-28 Thread Nathan Lynch
Michael Ellerman writes: > Nathan Lynch via B4 Relay > writes: >> From: Nathan Lynch >> >> PowerVM LPARs may retrieve Vital Product Data (VPD) for system >> components using the ibm,get-vpd RTAS function. > ... >> >> diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst >>

Re: [PATCH v4 05/13] powerpc/rtas: Facilitate high-level call sequences

2023-11-28 Thread Nathan Lynch
Michael Ellerman writes: > Nathan Lynch via B4 Relay > writes: >> diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c >> index 1fc0b3fffdd1..52f2242d0c28 100644 >> --- a/arch/powerpc/kernel/rtas.c >> +++ b/arch/powerpc/kernel/rtas.c >> @@ -196,6 +224,12 @@ static struct

Re: Ping? Re: [PATCH rc] kvm: Prevent compiling virt/kvm/vfio.c unless VFIO is selected

2023-11-28 Thread Sean Christopherson
On Fri, Nov 10, 2023, Michael Ellerman wrote: > Jason Gunthorpe writes: > > There are a bunch of reported randconfig failures now because of this, > > something like: > > > >>> arch/powerpc/kvm/../../../virt/kvm/vfio.c:89:7: warning: attribute > >>> declaration must precede definition

Re: [PATCH v4 05/13] powerpc/rtas: Facilitate high-level call sequences

2023-11-28 Thread Michael Ellerman
Nathan Lynch via B4 Relay writes: > diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c > index 1fc0b3fffdd1..52f2242d0c28 100644 > --- a/arch/powerpc/kernel/rtas.c > +++ b/arch/powerpc/kernel/rtas.c > @@ -196,6 +224,12 @@ static struct rtas_function rtas_function_table[] >

Re: [PATCH v4 09/13] powerpc/pseries: Add papr-vpd character driver for VPD retrieval

2023-11-28 Thread Michael Ellerman
Nathan Lynch via B4 Relay writes: > From: Nathan Lynch > > PowerVM LPARs may retrieve Vital Product Data (VPD) for system > components using the ibm,get-vpd RTAS function. ... > > diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst >

Re: [PATCHv9 2/2] powerpc/setup: Loosen the mapping between cpu logical id and its seq in dt

2023-11-28 Thread Pingfan Liu
Hi Hari, On Mon, Nov 27, 2023 at 12:30 PM Hari Bathini wrote: > > Hi Pingfan, Michael, > > On 17/10/23 4:03 pm, Hari Bathini wrote: > > > > > > On 17/10/23 7:58 am, Pingfan Liu wrote: > >> *** Idea *** > >> For kexec -p, the boot cpu can be not the cpu0, this causes the problem > >> of

linux-next: duplicate patches in the char-misc tree

2023-11-28 Thread Stephen Rothwell
Hi all, The following commits are also in the powerpc tree as different commits (but the same patches): bc1183a63057 ("misc: ocxl: main: Remove unnecessary ‘0’ values from rc") 29eb0dc7bd1e ("misc: ocxl: link: Remove unnecessary (void*) conversions") 0e425d703c30 ("misc: ocxl: afu_irq:

Re: [PATCH v4 13/13] powerpc/selftests: Add test for papr-sysparm

2023-11-28 Thread Michael Ellerman
Nathan Lynch via B4 Relay writes: > From: Nathan Lynch > > Consistently testing system parameter access is a bit difficult by > nature -- the set of parameters available depends on the model and > system configuration, and updating a parameter should be considered a > destructive operation

Re: [PATCH v4 05/13] powerpc/rtas: Facilitate high-level call sequences

2023-11-28 Thread Nathan Lynch
Michael Ellerman writes: > Nathan Lynch via B4 Relay > writes: >> From: Nathan Lynch >> >> On RTAS platforms there is a general restriction that the OS must not >> enter RTAS on more than one CPU at a time. This low-level >> serialization requirement is satisfied by holding a spin >> lock

Re: [PATCH v4 05/13] powerpc/rtas: Facilitate high-level call sequences

2023-11-28 Thread Michael Ellerman
Nathan Lynch via B4 Relay writes: > From: Nathan Lynch > > On RTAS platforms there is a general restriction that the OS must not > enter RTAS on more than one CPU at a time. This low-level > serialization requirement is satisfied by holding a spin > lock (rtas_lock) across most RTAS function

Re: [PATCH] perf test record+probe_libc_inet_pton: Fix call chain match on powerpc

2023-11-28 Thread Ian Rogers
On Tue, Nov 28, 2023 at 1:57 AM Disha Goel wrote: > > On 26/11/23 12:39 pm, Likhitha Korrapati wrote: > > > The perf test "probe libc's inet_pton & backtrace it with ping" fails on > > powerpc as below: > > > > root@xxx perf]# perf test -v "probe libc's inet_pton & backtrace it with > > ping" > >

Re: [PATCH v5 4/5] tty: Add SBI debug console support to HVC SBI driver

2023-11-28 Thread Greg Kroah-Hartman
On Fri, Nov 24, 2023 at 12:39:04PM +0530, Anup Patel wrote: > From: Atish Patra > > RISC-V SBI specification supports advanced debug console > support via SBI DBCN extension. > > Extend the HVC SBI driver to support it. > > Signed-off-by: Atish Patra > Signed-off-by: Anup Patel > --- >

Re: [PATCH v5 3/5] tty/serial: Add RISC-V SBI debug console based earlycon

2023-11-28 Thread Greg Kroah-Hartman
On Fri, Nov 24, 2023 at 12:39:03PM +0530, Anup Patel wrote: > We extend the existing RISC-V SBI earlycon support to use the new > RISC-V SBI debug console extension. > > Signed-off-by: Anup Patel > Reviewed-by: Andrew Jones > --- > drivers/tty/serial/Kconfig | 2 +- >

Re: [PATCH v4 06/13] powerpc/rtas: Serialize firmware activation sequences

2023-11-28 Thread Nathan Lynch
Nathan Lynch writes: > "Aneesh Kumar K.V (IBM)" writes: > >> Nathan Lynch writes: >> >>> "Aneesh Kumar K.V (IBM)" writes: Nathan Lynch via B4 Relay writes: > > Use the function lock API to prevent interleaving call sequences of > the ibm,activate-firmware RTAS

Re: [PATCH v4 06/13] powerpc/rtas: Serialize firmware activation sequences

2023-11-28 Thread Nathan Lynch
"Aneesh Kumar K.V (IBM)" writes: > Nathan Lynch writes: > >> "Aneesh Kumar K.V (IBM)" writes: >>> Nathan Lynch via B4 Relay >>> writes: >>> Use the function lock API to prevent interleaving call sequences of the ibm,activate-firmware RTAS function, which typically requires

Re: [linus:master] [file] 0ede61d858: will-it-scale.per_thread_ops -2.9% regression

2023-11-28 Thread Christian Brauner
On Mon, Nov 27, 2023 at 09:10:54AM -0800, Linus Torvalds wrote: > On Mon, 27 Nov 2023 at 02:27, Christian Brauner wrote: > > > > So I've picked up your patch (vfs.misc). It's clever alright so thanks > > for the comments in there otherwise I would've stared at this for far > > too long. > > Note

Re: [PATCH v4 06/13] powerpc/rtas: Serialize firmware activation sequences

2023-11-28 Thread IBM
Nathan Lynch writes: > "Aneesh Kumar K.V (IBM)" writes: >> Nathan Lynch via B4 Relay >> writes: >> >>> >>> Use the function lock API to prevent interleaving call sequences of >>> the ibm,activate-firmware RTAS function, which typically requires >>> multiple calls to complete the update. While

[powerpc:next] BUILD SUCCESS 0d555b57ee660d8a871781c0eebf006e855e918d

2023-11-28 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next branch HEAD: 0d555b57ee660d8a871781c0eebf006e855e918d powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE elapsed time: 1466m configs tested: 82 configs skipped: 2 The following

Re: [PATCH v4 09/13] powerpc/pseries: Add papr-vpd character driver for VPD retrieval

2023-11-28 Thread Nathan Lynch
Michal Suchánek writes: > > On Fri, Nov 17, 2023 at 11:14:27PM -0600, Nathan Lynch via B4 Relay wrote: >> +do { >> +blob = papr_vpd_run_sequence(loc_code); >> +if (!IS_ERR(blob)) /* Success. */ >> +break; >> +if (PTR_ERR(blob) !=

Re: [PATCH v4 05/13] powerpc/rtas: Facilitate high-level call sequences

2023-11-28 Thread Nathan Lynch
"Aneesh Kumar K.V (IBM)" writes: > Nathan Lynch via B4 Relay > writes: >> There should be no perceivable change introduced here except that >> concurrent callers of the same RTAS function via sys_rtas() may block >> on a mutex instead of spinning on rtas_lock. Changes to follow will >> add

Re: [PATCH v4 06/13] powerpc/rtas: Serialize firmware activation sequences

2023-11-28 Thread Nathan Lynch
"Aneesh Kumar K.V (IBM)" writes: > Nathan Lynch via B4 Relay > writes: > >> >> Use the function lock API to prevent interleaving call sequences of >> the ibm,activate-firmware RTAS function, which typically requires >> multiple calls to complete the update. While the spec does not >>

Re: [PATCH 2/3] powerpc/pseries/memhp: Remove unbalanced dlpar_release_drc() call

2023-11-28 Thread Nathan Lynch
Nick Child writes: > Hi Nathan, > Patches 1 and 3 LGTM thanks. > Regarding this patch, dlpar_memory_remove_by_count() calls > dlpar_add_lmb() and does not free drc on add error. > dlpar_add_lmb() is called here in error recovery so probably > not a big deal. > > This is all new code to me but

[PATCH 17/17] soc: fsl: cpm1: qmc: Introduce functions to change timeslots at runtime

2023-11-28 Thread Herve Codina
Introduce qmc_chan_{get,set}_ts_info() function to allow timeslots modification at runtime. The modification is provided using qmc_chan_set_ts_info() and will be applied on next qmc_chan_start(). qmc_chan_set_ts_info() must be called with the channel rx and/or tx stopped. Signed-off-by: Herve

[PATCH 16/17] soc: fsl: cpm1: qmc: Remove timeslots handling from setup_chan()

2023-11-28 Thread Herve Codina
Timeslots setting is done at channel start() and stop(). There is no more need to do that during setup_chan(). Simply remove timeslot setting from setup_chan(). Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy --- drivers/soc/fsl/qe/qmc.c | 28 1 file

[PATCH 15/17] soc: fsl: cpm1: qmc: Handle timeslot entries at channel start() and stop()

2023-11-28 Thread Herve Codina
In order to support runtime timeslot route changes, enable the channel timeslot entries at channel start() and disable them at channel stop(). Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy --- drivers/soc/fsl/qe/qmc.c | 175 --- 1 file changed,

[PATCH 14/17] soc: fsl: cpm1: qmc: Introduce is_tsa_64rxtx flag

2023-11-28 Thread Herve Codina
In order to support runtime timeslot route changes, some operations will be different according the routing table used (common Rx and Tx table or one table for Rx and one for Tx). The is_tsa_64rxtx flag is introduced to avoid extra computation to determine the table format each time we need it.

[PATCH 13/17] soc: fsl: cpm1: qmc: Split Tx and Rx TSA entries setup

2023-11-28 Thread Herve Codina
The Tx and Rx entries for a given channel are set in one function. In order to modify Rx entries and Tx entries independently of one other, split this function in one for the Rx part and one for the Tx part. Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy ---

[PATCH 12/17] soc: fsl: cpm1: qmc: Add support for disabling channel TSA entries

2023-11-28 Thread Herve Codina
In order to allow runtime timeslot route changes, disabling channel TSA entries needs to be supported. Add support for this new feature. Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy --- drivers/soc/fsl/qe/qmc.c | 20 +++- 1 file changed, 11 insertions(+), 9

[PATCH 08/17] soc: fsl: cpm1: qmc: Rename qmc_setup_tsa* to qmc_init_tsa*

2023-11-28 Thread Herve Codina
qmc_setup_tsa* are called once at initialisation. They initialize the QMC TSA table. In order to introduce setup function later on for dynamic timeslots management, rename the function to avoid later confusion. Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy ---

[PATCH 01/17] soc: fsl: cpm1: tsa: Fix __iomem addresses declaration

2023-11-28 Thread Herve Codina
Running sparse (make C=1) on tsa.c raises a lot of warning such as: --- 8< --- warning: incorrect type in assignment (different address spaces) expected void *[noderef] si_regs got void [noderef] __iomem * --- 8< --- Indeed, some variable were declared 'type *__iomem var' instead

[PATCH 06/17] soc: fsl: cpm1: qmc: Add support for child devices

2023-11-28 Thread Herve Codina
QMC child devices support is needed to avoid orphan DT nodes that use a simple DT phandle to reference a QMC channel. Allow to instantiate child devices and also extend the API to get the qmc_chan using a child device. Signed-off-by: Herve Codina --- drivers/soc/fsl/qe/qmc.c | 91

[PATCH 02/17] soc: fsl: cpm1: qmc: Fix __iomem addresses declaration

2023-11-28 Thread Herve Codina
Running sparse (make C=1) on qmc.c raises a lot of warning such as: ... warning: incorrect type in assignment (different address spaces) expected struct cpm_buf_desc [usertype] *[noderef] __iomem bd got struct cpm_buf_desc [noderef] [usertype] __iomem *txbd_free ... Indeed, some

[PATCH 03/17] soc: fsl: cpm1: qmc: Fix rx channel reset

2023-11-28 Thread Herve Codina
The qmc_chan_reset_rx() set the is_rx_stopped flag. This leads to an inconsistent state in the following sequence. qmc_chan_stop() qmc_chan_reset() Indeed, after the qmc_chan_reset() call, the channel must still be stopped. Only a qmc_chan_start() call can move the channel from stopped

[PATCH 09/17] soc: fsl: cpm1: qmc: Introduce qmc_chan_setup_tsa*

2023-11-28 Thread Herve Codina
Introduce the qmc_chan_setup_tsa* functions to setup entries related to the given channel. Use them during QMC channels setup. Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy --- drivers/soc/fsl/qe/qmc.c | 161 ++- 1 file changed, 125

[PATCH 11/17] soc: fsl: cpm1: qmc: Check available timeslots in qmc_check_chans()

2023-11-28 Thread Herve Codina
The timeslots checked in qmc_check_chans() are the timeslots used. With the introduction of the available timeslots, the used timeslots are a subset of the available timeslots. The timeslots checked during the qmc_check_chans() call should be the available ones. Simply update and check the

[PATCH 10/17] soc: fsl: cpm1: qmc: Remove no more needed checks from qmc_check_chans()

2023-11-28 Thread Herve Codina
The newly introduced qmc_chan_setup_tsa* functions check that the channel entries are not already used. These checks are also performed by qmc_check_chans() and are no more needed. Remove them from qmc_check_chans(). Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy ---

[PATCH 07/17] soc: fsl: cpm1: qmc: Introduce available timeslots masks

2023-11-28 Thread Herve Codina
Available timeslots masks define timeslots available for the related channel. These timeslots are defined by the QMC binding. Timeslots used are initialized to available timeslots but can be a subset of available timeslots. This prepares the dynamic timeslots management (ie. changing timeslots at

[PATCH 04/17] soc: fsl: cpm1: qmc: Extend the API to provide Rx status

2023-11-28 Thread Herve Codina
In HDLC mode, some status flags related to the data read transfer can be set by the hardware and need to be known by a QMC consumer for further analysis. Extend the API in order to provide these transfer status flags at the read complete() call. In TRANSPARENT mode, these flags have no meaning.

[PATCH 00/17] Prepare the PowerQUICC QMC and TSA for the HDLC QMC driver

2023-11-28 Thread Herve Codina
Hi, This series updates PowerQUICC QMC and TSA drivers to prepare the support for the QMC HDLC driver. Patches were previously sent as part of a full feature series: "Add support for QMC HDLC, framer infrastructure and PEF2256 framer" [1] The full feature series reached the v9 iteration. The v1

[PATCH 05/17] soc: fsl: cpm1: qmc: Remove inline function specifiers

2023-11-28 Thread Herve Codina
The inline function specifier is present on some functions but it is better to let the compiler decide inlining or not these functions. Remove inline specifiers. Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC") Signed-off-by: Herve Codina Suggested-by: Andrew Lunn Reviewed-by:

[PATCH 1/5] selftests/powerpc: Fix error handling in FPU/VMX preemption tests

2023-11-28 Thread Michael Ellerman
The FPU & VMX preemption tests do not check for errors returned by the low-level asm routines, preempt_fpu() / preempt_vsx() respectively. That means any register corruption detected by the asm routines does not result in a test failure. Fix it by returning the return value of the asm routines

[PATCH 5/5] selftests/powerpc: Check all FPRs in fpu_syscall test

2023-11-28 Thread Michael Ellerman
There is a selftest that checks if FPRs are corrupted across a fork, aka clone. It was added as part of the series that optimised the clone path to save the parent's FP state without "giving up" (turning off FP). See commit 8792468da5e1 ("powerpc: Add the ability to save FPU without giving it

[PATCH 4/5] selftests/powerpc: Run fpu_preempt test for 60 seconds

2023-11-28 Thread Michael Ellerman
The FPU preempt test only runs for 20 seconds, which is not particularly long. Run it for 60 seconds to increase the chance of detecting corruption. Signed-off-by: Michael Ellerman --- tools/testing/selftests/powerpc/math/fpu_preempt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 3/5] selftests/powerpc: Generate better bit patterns for FPU tests

2023-11-28 Thread Michael Ellerman
The fpu_preempt test randomly initialises an array of doubles to try and detect FPU register corruption. However the values it generates do not occupy the full range of values possible in the 64-bit double, meaning some partial register corruption could go undetected. Without getting too carried

[PATCH 2/5] selftests/powerpc: Check all FPRs in fpu_preempt

2023-11-28 Thread Michael Ellerman
There's a selftest that checks FPRs aren't corrupted by preemption, or just process scheduling. However it only checks the non-volatile FPRs, meaning corruption of the volatile FPRs could go undetected. The check_fpu function it calls is used by several other tests, so for now add a new routine

[PATCH] soc: fsl: cpm1: qmc: fix error return code in qmc_probe()

2023-11-28 Thread Yang Yingliang
If platform_get_irq() fails, it need return error code in qmc_probe(). Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC") Signed-off-by: Yang Yingliang --- drivers/soc/fsl/qe/qmc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/soc/fsl/qe/qmc.c

Re: [PATCH] soc: fsl: cpm1: qmc: fix error return code in qmc_probe()

2023-11-28 Thread Herve Codina
Hi Yang, On Tue, 28 Nov 2023 21:09:42 +0800 Yang Yingliang wrote: > If platform_get_irq() fails, it need return error code in > qmc_probe(). > > Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC") > Signed-off-by: Yang Yingliang > --- > drivers/soc/fsl/qe/qmc.c | 4 +++- > 1 file

Re: [PATCH v2] powerpc: Don't clobber fr0/vs0 during fp|altivec register save

2023-11-28 Thread Michael Ellerman
Michael Ellerman writes: > Timothy Pearson writes: > >> Just wanted to check back and see if this patch was going to be queued >> up soon? We're still having to work around / advertise the data >> destruction issues the underlying bug is causing on e.g. Debian >> Stable. > > Yeah I'll apply it

Re: [PATCH] powerpc/mm: Fix null-pointer dereference in pgtable_cache_add

2023-11-28 Thread Michael Ellerman
Kunwu Chan writes: > Hi Christophe, > > Thanks for your reply. > It's my bad. According your reply, i read the code in > sysfs_do_create_link_sd.There is a null pointer check indeed. > > My intention was to check null pointer after memory allocation. > Whether we can add a comment here for

Re: [PATCH] perf test record+probe_libc_inet_pton: Fix call chain match on powerpc

2023-11-28 Thread Disha Goel
On 26/11/23 12:39 pm, Likhitha Korrapati wrote: The perf test "probe libc's inet_pton & backtrace it with ping" fails on powerpc as below: root@xxx perf]# perf test -v "probe libc's inet_pton & backtrace it with ping" 85: probe libc's inet_pton & backtrace it with ping : ---

Re: [PATCH v2 0/5] MODVERSIONS + RUST Redux

2023-11-28 Thread Greg KH
On Tue, Nov 28, 2023 at 08:05:26AM +, Greg KH wrote: > On Mon, Nov 27, 2023 at 11:27:07AM -0800, Matthew Maurer wrote: > > > > > > > > > > > With regards to future directions that likely won't work for > > > > > > loosening it: > > > > > > Unfortunately, the .rmeta format itself is not

Re: [PATCH v2 0/5] MODVERSIONS + RUST Redux

2023-11-28 Thread Greg KH
On Mon, Nov 27, 2023 at 11:27:07AM -0800, Matthew Maurer wrote: > > > > > > > > > With regards to future directions that likely won't work for > > > > > loosening it: > > > > > Unfortunately, the .rmeta format itself is not stable, so I wouldn't > > > > > want to > > > > > teach genksyms to open