Re: [PATCH v4 05/10] dt-bindings: soc: fsl: cpm_qe: Add QMC controller

2023-01-30 Thread Herve Codina
Hi Rob, On Mon, 30 Jan 2023 12:30:37 -0600 Rob Herring wrote: > On Thu, Jan 26, 2023 at 09:32:17AM +0100, Herve Codina wrote: > > Add support for the QMC (QUICC Multichannel Controller) > > available in some PowerQUICC SoC such as MPC885 or MPC866. > > > > Signed-off-by: Herve Codina > > --- >

Re: [PATCH v4 01/10] dt-bindings: soc: fsl: cpm_qe: Add TSA controller

2023-01-30 Thread Herve Codina
On Mon, 30 Jan 2023 12:27:44 -0600 Hi Rob, Rob Herring wrote: > On Thu, Jan 26, 2023 at 09:32:13AM +0100, Herve Codina wrote: > > Add support for the time slot assigner (TSA) > > available in some PowerQUICC SoC such as MPC885 > > or MPC866. > > > > Signed-off-by: Herve Codina > > --- > > ...

[PATCH v5 05/25] powerpc/secvar: Warn and error if multiple secvar ops are set

2023-01-30 Thread Andrew Donnellan
From: Russell Currey The secvar code only supports one consumer at a time. Multiple consumers aren't possible at this point in time, but we'd want it to be obvious if it ever could happen. Signed-off-by: Russell Currey Co-developed-by: Andrew Donnellan Signed-off-by: Andrew Donnellan --- v

[PATCH v5 12/25] powerpc/secvar: Warn when PAGE_SIZE is smaller than max object size

2023-01-30 Thread Andrew Donnellan
Due to sysfs constraints, when writing to a variable, we can only handle writes of up to PAGE_SIZE. It's possible that the maximum object size is larger than PAGE_SIZE, in which case, print a warning on boot so that the user is aware. Signed-off-by: Andrew Donnellan Signed-off-by: Russell Currey

[PATCH v5 08/25] powerpc/secvar: Handle max object size in the consumer

2023-01-30 Thread Andrew Donnellan
From: Russell Currey Currently the max object size is handled in the core secvar code with an entirely OPAL-specific implementation, so create a new max_size() op and move the existing implementation into the powernv platform. Should be no functional change. Signed-off-by: Russell Currey Signe

[PATCH v5 19/25] powerpc/pseries: Make caller pass buffer to plpks_read_var()

2023-01-30 Thread Andrew Donnellan
Currently, plpks_read_var() allocates a buffer to pass to the H_PKS_READ_OBJECT hcall, then allocates another buffer, of the caller's preferred size if necessary, into which the data is copied, and returns that buffer to the caller. This is a bit over the top - while we probably still want to allo

[PATCH v5 07/25] powerpc/secvar: Handle format string in the consumer

2023-01-30 Thread Andrew Donnellan
From: Russell Currey The code that handles the format string in secvar-sysfs.c is entirely OPAL specific, so create a new "format" op in secvar_operations to make the secvar code more generic. No functional change. Signed-off-by: Russell Currey Signed-off-by: Andrew Donnellan --- v2: Use sy

[PATCH v5 11/25] powerpc/secvar: Allow backend to populate static list of variable names

2023-01-30 Thread Andrew Donnellan
Currently, the list of variables is populated by calling secvar_ops->get_next() repeatedly, which is explicitly modelled on the OPAL API (including the keylen parameter). For the upcoming PLPKS backend, we have a static list of variable names. It is messy to fit that into get_next(), so instead, l

[PATCH v5 17/25] powerpc/pseries: Implement signed update for PLPKS objects

2023-01-30 Thread Andrew Donnellan
From: Nayna Jain The Platform Keystore provides a signed update interface which can be used to create, replace or append to certain variables in the PKS in a secure fashion, with the hypervisor requiring that the update be signed using the Platform Key. Implement an interface to the H_PKS_SIGNED

[PATCH v5 15/25] powerpc/pseries: Move PLPKS constants to header file

2023-01-30 Thread Andrew Donnellan
From: Russell Currey Move the constants defined in plpks.c to plpks.h, and standardise their naming, so that PLPKS consumers can make use of them later on. Signed-off-by: Russell Currey Co-developed-by: Andrew Donnellan Signed-off-by: Andrew Donnellan --- v3: New patch --- arch/powerpc/inc

[PATCH v5 23/25] powerpc/pseries: Implement secvars for dynamic secure boot

2023-01-30 Thread Andrew Donnellan
From: Russell Currey The pseries platform can support dynamic secure boot (i.e. secure boot using user-defined keys) using variables contained with the PowerVM LPAR Platform KeyStore (PLPKS). Using the powerpc secvar API, expose the relevant variables for pseries dynamic secure boot through the

[PATCH v5 25/25] integrity/powerpc: Support loading keys from PLPKS

2023-01-30 Thread Andrew Donnellan
From: Russell Currey Add support for loading keys from the PLPKS on pseries machines, with the "ibm,plpks-sb-v1" format. The object format is expected to be the same, so there shouldn't be any functional differences between objects retrieved on powernv or pseries. Unlike on powernv, on pseries

[PATCH v5 18/25] powerpc/pseries: Log hcall return codes for PLPKS debug

2023-01-30 Thread Andrew Donnellan
From: Russell Currey The plpks code converts hypervisor return codes into their Linux equivalents so that users can understand them. Having access to the original return codes is really useful for debugging, so add a pr_debug() so we don't lose information from the conversion. Signed-off-by: Ru

[PATCH v5 22/25] powerpc/pseries: Pass PLPKS password on kexec

2023-01-30 Thread Andrew Donnellan
From: Russell Currey Before interacting with the PLPKS, we ask the hypervisor to generate a password for the current boot, which is then required for most further PLPKS operations. If we kexec into a new kernel, the new kernel will try and fail to generate a new password, as the password has alr

[PATCH v5 20/25] powerpc/pseries: Turn PSERIES_PLPKS into a hidden option

2023-01-30 Thread Andrew Donnellan
It seems a bit unnecessary for the PLPKS code to have a user-visible config option when it doesn't do anything on its own, and there's existing options for enabling Secure Boot-related features. It should be enabled by PPC_SECURE_BOOT, which will eventually be what uses PLPKS to populate keyrings.

[PATCH v5 21/25] powerpc/pseries: Add helper to get PLPKS password length

2023-01-30 Thread Andrew Donnellan
From: Russell Currey Add helper function to get the PLPKS password length. This will be used in a later patch to support passing the password between kernels over kexec. Signed-off-by: Russell Currey Signed-off-by: Andrew Donnellan --- v3: New patch v5: Drop plpks_get_password() since we no

[PATCH v5 24/25] integrity/powerpc: Improve error handling & reporting when loading certs

2023-01-30 Thread Andrew Donnellan
From: Russell Currey A few improvements to load_powerpc.c: - include integrity.h for the pr_fmt() - move all error reporting out of get_cert_list() - use ERR_PTR() to better preserve error detail - don't use pr_err() for missing keys Reviewed-by: Mimi Zohar Signed-off-by: Russell Currey S

[PATCH v5 16/25] powerpc/pseries: Expose PLPKS config values, support additional fields

2023-01-30 Thread Andrew Donnellan
From: Nayna Jain The plpks driver uses the H_PKS_GET_CONFIG hcall to retrieve configuration and status information about the PKS from the hypervisor. Update _plpks_get_config() to handle some additional fields. Add getter functions to allow the PKS configuration information to be accessed from o

[PATCH v5 04/25] powerpc/secvar: Use u64 in secvar_operations

2023-01-30 Thread Andrew Donnellan
From: Michael Ellerman There's no reason for secvar_operations to use uint64_t vs the more common kernel type u64. The types are compatible, but they require different printk format strings which can lead to confusion. Change all the secvar related routines to use u64. Signed-off-by: Michael E

[PATCH v5 10/25] powerpc/secvar: Extend sysfs to include config vars

2023-01-30 Thread Andrew Donnellan
From: Russell Currey The forthcoming pseries consumer of the secvar API wants to expose a number of config variables. Allowing secvar implementations to provide their own sysfs attributes makes it easy for consumers to expose what they need to. This is not being used by the OPAL secvar implemen

[PATCH v5 14/25] powerpc/pseries: Move plpks.h to include directory

2023-01-30 Thread Andrew Donnellan
From: Russell Currey Move plpks.h from platforms/pseries/ to include/asm/. This is necessary for later patches to make use of the PLPKS from code in other subsystems. Signed-off-by: Russell Currey Signed-off-by: Andrew Donnellan --- v3: New patch --- .../powerpc/{platforms/pseries => includ

[PATCH v5 09/25] powerpc/secvar: Clean up init error messages

2023-01-30 Thread Andrew Donnellan
Remove unnecessary prefixes from error messages in secvar_sysfs_init() (the file defines pr_fmt, so putting "secvar:" in every message is unnecessary). Make capitalisation and punctuation more consistent. Signed-off-by: Andrew Donnellan Signed-off-by: Russell Currey --- v3: New patch (ajd) ---

[PATCH v5 13/25] powerpc/secvar: Don't print error on ENOENT when reading variables

2023-01-30 Thread Andrew Donnellan
If attempting to read the size or data attributes of a non-existent variable (which will be possible after a later patch to expose the PLPKS via the secvar interface), don't spam the kernel log with error messages. Only print errors for return codes that aren't ENOENT. Reported-by: Sudhakar Kuppu

[PATCH v5 06/25] powerpc/secvar: Use sysfs_emit() instead of sprintf()

2023-01-30 Thread Andrew Donnellan
From: Russell Currey The secvar format string and object size sysfs files are both ASCII text, and should use sysfs_emit(). No functional change. Suggested-by: Greg Kroah-Hartman Signed-off-by: Russell Currey Signed-off-by: Andrew Donnellan --- v2: New patch (gregkh) --- arch/powerpc/kern

[PATCH v5 01/25] powerpc/pseries: Fix handling of PLPKS object flushing timeout

2023-01-30 Thread Andrew Donnellan
plpks_confirm_object_flushed() uses the H_PKS_CONFIRM_OBJECT_FLUSHED hcall to check whether changes to an object in the Platform KeyStore have been flushed to non-volatile storage. The hcall returns two output values, the return code and the flush status. plpks_confirm_object_flushed() polls the h

[PATCH v5 02/25] powerpc/pseries: Fix alignment of PLPKS structures and buffers

2023-01-30 Thread Andrew Donnellan
A number of structures and buffers passed to PKS hcalls have alignment requirements, which could on occasion cause problems: - Authorisation structures must be 16-byte aligned and must not cross a page boundary - Label structures must not cross page boundaries - Password output buffers must no

[PATCH v5 00/25] pSeries dynamic secure boot secvar interface + platform keyring loading

2023-01-30 Thread Andrew Donnellan
This series exposes an interface to userspace for reading and writing secure variables contained within the PowerVM LPAR Platform KeyStore (PLPKS) for the purpose of configuring dynamic secure boot, and adds the glue required to load keys from the PLPKS into the platform keyring. This series build

[PATCH v5 03/25] powerpc/secvar: Fix incorrect return in secvar_sysfs_load()

2023-01-30 Thread Andrew Donnellan
From: Russell Currey secvar_ops->get_next() returns -ENOENT when there are no more variables to return, which is expected behaviour. Fix this by returning 0 if get_next() returns -ENOENT. This fixes an issue introduced in commit bd5d9c743d38 ("powerpc: expose secure variables to userspace via s

Re: [PATCH] powerpc/tlb: Implement book3s/32/tlbflush.h local_flush_tlb_page_psize

2023-01-30 Thread Christophe Leroy
Le 31/01/2023 à 03:58, Benjamin Gray a écrit : > The commit introducing this function implemented it as a build bug on this > platform to make the compiler happy, as the only use in the code is guarded > behind a radix_enabled() conditional. > > GCC recognises that cpu_has_feature(MMU_FTR_TYPE_R

Re: [PATCH v4 22/24] powerpc/pseries: Implement secvars for dynamic secure boot

2023-01-30 Thread Andrew Donnellan
On Tue, 2023-01-31 at 13:54 +1100, Andrew Donnellan wrote: > > > +{ > > > +   // The max object size reported by the hypervisor is > > > accurate for the > > > +   // object itself, but we use the first 8 bytes of data on > > > write as the > > > +   // signed update flags, so the max s

Re: [PATCH v4 16/24] powerpc/pseries: Implement signed update for PLPKS objects

2023-01-30 Thread Russell Currey
On Mon, 2023-01-30 at 15:43 +1100, Andrew Donnellan wrote: > On Tue, 2023-01-24 at 14:16 +1000, Nicholas Piggin wrote: > > > diff --git a/arch/powerpc/platforms/pseries/plpks.c > > > b/arch/powerpc/platforms/pseries/plpks.c > > > index 1189246b03dc..796ed5544ee5 100644 > > > --- a/arch/powerpc/plat

Re: [PATCH] powerpc/tlb: Remove BUILD_BUG for book3s/32/tlbflush.h local_flush_tlb_page_psize

2023-01-30 Thread Michael Ellerman
Benjamin Gray writes: > On Wed, 2023-01-25 at 22:35 +1100, Michael Ellerman wrote: >> Can't we just fall back to flush_tlb_page(vma, vmaddr)? >> >> I'd guess those CPUs can't flush based on page size anyway. >> >> cheers > > Probably. Do they have a fixed page size? AFAIK yes. cheers

[PATCH v2] powerpc/kexec_file: account hot-pluggable memory while estimating FDT size

2023-01-30 Thread Sourabh Jain
On Systems where online memory is lesser compared to max memory, the kexec_file_load system call may fail to load the kdump kernel with the below errors: "Failed to update fdt with linux,drconf-usable-memory property" "Error setting up usable-memory property for kdump kernel" This happens

[PATCH] powerpc/tlb: Implement book3s/32/tlbflush.h local_flush_tlb_page_psize

2023-01-30 Thread Benjamin Gray
The commit introducing this function implemented it as a build bug on this platform to make the compiler happy, as the only use in the code is guarded behind a radix_enabled() conditional. GCC recognises that cpu_has_feature(MMU_FTR_TYPE_RADIX) returns false on this platform and eliminates the bui

Re: [PATCH v4 22/24] powerpc/pseries: Implement secvars for dynamic secure boot

2023-01-30 Thread Andrew Donnellan
On Tue, 2023-01-24 at 15:17 +1000, Nicholas Piggin wrote: > > +static const char * const plpks_var_names[] = { > > +   "PK", > > +   "KEK", > > +   "db", > > +   "dbx", > > +   "grubdb", > > +   "grubdbx", > > +   "sbat", > > +   "moduledb", > > +   "trustedcadb"

Re: [PATCH v4 21/24] powerpc/pseries: Pass PLPKS password on kexec

2023-01-30 Thread Russell Currey
On Tue, 2023-01-24 at 14:36 +1000, Nicholas Piggin wrote: > On Fri Jan 20, 2023 at 5:43 PM AEST, Andrew Donnellan wrote: > > From: Russell Currey > > > > Before interacting with the PLPKS, we ask the hypervisor to > > generate a > > password for the current boot, which is then required for most >

Re: [PATCH v4 24/24] integrity/powerpc: Support loading keys from pseries secvar

2023-01-30 Thread Andrew Donnellan
On Tue, 2023-01-24 at 21:47 -0500, Mimi Zohar wrote: > Agreed.  Thank you for the explanation.  To simplify review, I > suggest > either adding this explanation in the patch description or stage the > change by replacing the existing "ibm,edk2-compat-v1" usage first. Will clarify in the commit mes

Re: [PATCH v5 00/15] jevents/pmu-events improvements

2023-01-30 Thread Ian Rogers
On Mon, Jan 30, 2023 at 7:22 AM John Garry wrote: > > On 27/01/2023 13:48, Ian Rogers wrote: > > On Fri, Jan 27, 2023, 5:20 AM John Garry > > wrote: > > > > On 26/01/2023 23:36, Ian Rogers wrote: > > > > Hi Ian, > > > > At a glance, none of this series

Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path

2023-01-30 Thread Alexei Starovoitov
On Mon, Jan 30, 2023 at 3:48 PM Shuah Khan wrote: > > >> > >> These will be applied by maintainers to their trees. > > > > Not in this form. They break the build. > > Mathieu is sending you the patches in the format you requested in > the thread on this patch. It's not the format, but the patch i

Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path

2023-01-30 Thread Shuah Khan
On 1/30/23 16:45, Alexei Starovoitov wrote: On Mon, Jan 30, 2023 at 2:46 PM Shuah Khan wrote: On 1/27/23 06:57, Mathieu Desnoyers wrote: Hi, This series fixes incorrect kernel header search path in kernel selftests. Near the end of the series, a few changes are not tagged as "Fixes" because

Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path

2023-01-30 Thread Alexei Starovoitov
On Mon, Jan 30, 2023 at 2:46 PM Shuah Khan wrote: > > On 1/27/23 06:57, Mathieu Desnoyers wrote: > > Hi, > > > > This series fixes incorrect kernel header search path in kernel > > selftests. > > > > Near the end of the series, a few changes are not tagged as "Fixes" > > because the current behavi

[powerpc:next] BUILD SUCCESS bab537805a10bdbf55b31324ba4a9599e0651e5e

2023-01-30 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next branch HEAD: bab537805a10bdbf55b31324ba4a9599e0651e5e powerpc: Check !irq instead of irq == NO_IRQ and remove NO_IRQ elapsed time: 728m configs tested: 2 configs skipped: 116 The following configs have been bu

Re: [PATCH v5 10/15] perf jevents: Generate metrics and events as separate tables

2023-01-30 Thread Ian Rogers
On Mon, Jan 30, 2023 at 8:07 AM John Garry wrote: > > On 26/01/2023 23:36, Ian Rogers wrote: > > @@ -660,7 +763,29 @@ const struct pmu_events_table > > *perf_pmu__find_events_table(struct perf_pmu *pmu) > > > > const struct pmu_metrics_table *perf_pmu__find_metrics_table(struct > > perf_pmu *p

[powerpc:fixes-test] BUILD SUCCESS c28548012ee2bac55772ef7685138bd1124b80c3

2023-01-30 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes-test branch HEAD: c28548012ee2bac55772ef7685138bd1124b80c3 powerpc/64: Fix perf profiling asynchronous interrupt handlers elapsed time: 720m configs tested: 19 configs skipped: 116 The following configs have

[powerpc:merge] BUILD SUCCESS ca272751ba18ca8f137af631cbc9f3f987fab6e3

2023-01-30 Thread kernel test robot
been built successfully. More configs may be tested in the coming days. gcc tested configs: powerpc allnoconfig um i386_defconfig um x86_64_defconfig x86_64 randconfig-a001-20230130 x86_64

[PATCH 5/7] hvcs: Use vhangup in hotplug remove

2023-01-30 Thread Brian King
When hotplug removing an hvcs device, we need to ensure the hangup processing is done prior to exiting the remove function, so use tty_vhangup to do the hangup processing directly rather than using tty_hangup which simply schedules the hangup work for later execution. Signed-off-by: Brian King --

[PATCH 6/7] hvcs: Synchronize hotplug remove with port free

2023-01-30 Thread Brian King
Synchronizes hotplug remove with the freeing of the port. This ensures we have freed all the memory associated with this port and are not leaking memory. Signed-off-by: Brian King --- drivers/tty/hvc/hvcs.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff

[PATCH 7/7] powerpc: Fix device node refcounting

2023-01-30 Thread Brian King
While testing fixes to the hvcs hotplug code, kmemleak was reporting potential memory leaks. This was tracked down to the struct device_node object associated with the hvcs device. Looking at the leaked object in crash showed that the kref in the kobject in the device_node had a reference count of

[PATCH 4/7] hvcs: Get reference to tty in remove

2023-01-30 Thread Brian King
Grab a reference to the tty when removing the hvcs to ensure it does not get freed unexpectedly. Signed-off-by: Brian King --- drivers/tty/hvc/hvcs.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index 9c5887d0c882..b28d

[PATCH 2/7] hvcs: Remove sysfs file prior to vio unregister

2023-01-30 Thread Brian King
This moves the removal of the rescan sysfs attribute to occur before the call to unregister the vio to ensure the removal does not fail due to the vio driver already being freed. Signed-off-by: Brian King --- drivers/tty/hvc/hvcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 3/7] hvcs: Remove sysfs group earlier

2023-01-30 Thread Brian King
Cleanup the sysfs group earlier in remove. This eliminates errors coming from kernfs when attempting to remove a console device that is in use. Signed-off-by: Brian King --- drivers/tty/hvc/hvcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/hvc/hvcs.c b/dr

[PATCH 0/7] hvcs: Various hvcs device hotplug fixes

2023-01-30 Thread Brian King
This patch series fixes a number of issues with hotplugging hvcs devices including memory leaks as well as, the inability to reconnect to a console device after it has been hot added back, since it was not getting cleaned up properly on the hotplug remove path. Brian King (7): hvcs: Fix hvcs por

[PATCH 1/7] hvcs: Fix hvcs port reference counting

2023-01-30 Thread Brian King
The hvcs driver only ever gets two references to the port. One at initialization time, and one at install time. Remove the code that was trying to do multiple port puts for each open, which would result in more puts than gets. Signed-off-by: Brian King --- drivers/tty/hvc/hvcs.c | 18 ---

Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path

2023-01-30 Thread Shuah Khan
On 1/27/23 06:57, Mathieu Desnoyers wrote: Hi, This series fixes incorrect kernel header search path in kernel selftests. Near the end of the series, a few changes are not tagged as "Fixes" because the current behavior is to rely on the kernel sources uapi files rather than on the installed ker

Re: [PATCH v4 05/10] dt-bindings: soc: fsl: cpm_qe: Add QMC controller

2023-01-30 Thread Rob Herring
On Thu, Jan 26, 2023 at 09:32:17AM +0100, Herve Codina wrote: > Add support for the QMC (QUICC Multichannel Controller) > available in some PowerQUICC SoC such as MPC885 or MPC866. > > Signed-off-by: Herve Codina > --- > .../bindings/soc/fsl/cpm_qe/fsl,qmc.yaml | 167 ++ fsl

Re: [PATCH v4 01/10] dt-bindings: soc: fsl: cpm_qe: Add TSA controller

2023-01-30 Thread Rob Herring
On Thu, Jan 26, 2023 at 09:32:13AM +0100, Herve Codina wrote: > Add support for the time slot assigner (TSA) > available in some PowerQUICC SoC such as MPC885 > or MPC866. > > Signed-off-by: Herve Codina > --- > .../bindings/soc/fsl/cpm_qe/fsl,tsa.yaml | 261 ++ fsl,cpm1-tsa

Re: [PATCH v3] of: Make of framebuffer devices unique

2023-01-30 Thread Rob Herring
On Fri, 20 Jan 2023 19:09:57 +0100, Michal Suchanek wrote: > Since Linux 5.19 this error is observed: > > sysfs: cannot create duplicate filename '/devices/platform/of-display' > > This is because multiple devices with the same name 'of-display' are > created on the same bus. > > Update the co

Re: [PATCH 21/34] selftests: powerpc: Fix incorrect kernel headers search path

2023-01-30 Thread Shuah Khan
On 1/27/23 06:57, Mathieu Desnoyers wrote: Use $(KHDR_INCLUDES) as lookup path for kernel headers. This prevents building against kernel headers from the build environment in scenarios where kernel headers are installed into a specific output directory (O=...). Signed-off-by: Mathieu Desnoyers

Re: [PATCH v5 10/15] perf jevents: Generate metrics and events as separate tables

2023-01-30 Thread John Garry
On 26/01/2023 23:36, Ian Rogers wrote: @@ -660,7 +763,29 @@ const struct pmu_events_table *perf_pmu__find_events_table(struct perf_pmu *pmu) const struct pmu_metrics_table *perf_pmu__find_metrics_table(struct perf_pmu *pmu) { -return (struct pmu_metrics_table *)perf_pmu__find_eve

Re: [PATCH v5 00/15] jevents/pmu-events improvements

2023-01-30 Thread John Garry
On 27/01/2023 13:48, Ian Rogers wrote: On Fri, Jan 27, 2023, 5:20 AM John Garry > wrote: On 26/01/2023 23:36, Ian Rogers wrote: Hi Ian, At a glance, none of this series has your Signed-off-by tag.. Thanks, John Thanks John, will fix. Is t

Re: [PASEMI] Nemo board doesn't reboot anymore after the commit "HID: usbhid: Add ALWAYS_POLL quirk for some mice" #forregzbot

2023-01-30 Thread Linux kernel regression tracking (#update)
[TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 22.12.22 12:24, Thorsten Leemhuis wrote: > On 22.12.22 11:42, Christian Zigotzky wrote: >> >> The Nemo board [1] doesn't reboot anymore since the final kernel 6.1. >> The

Re: [PATCH v2] powerpc: macio: Make remove callback of macio driver void returned

2023-01-30 Thread Dawei Li
Hi Michael, Thanks for reviewing, On Mon, Jan 30, 2023 at 03:47:55PM +1100, Michael Ellerman wrote: > Dawei Li writes: > > Commit fc7a6209d571 ("bus: Make remove callback return void") forces > > bus_type::remove be void-returned, it doesn't make much sense for any > > bus based driver implement

Re: [RFC PATCH 01/19] mm: Introduce vm_account

2023-01-30 Thread Alistair Popple
Jason Gunthorpe writes: > On Tue, Jan 24, 2023 at 04:42:30PM +1100, Alistair Popple wrote: >> +/** >> + * enum vm_account_flags - Determine how pinned/locked memory is accounted. >> + * @VM_ACCOUNT_TASK: Account pinned memory to mm->pinned_vm. >> + * @VM_ACCOUNT_BYPASS: Don't enforce rlimit on

Re: [PATCH] powerpc/imc-pmu: Revert nest_init_lock to being a mutex

2023-01-30 Thread kajoljain
On 1/30/23 07:14, Michael Ellerman wrote: > The recent commit 76d588dddc45 ("powerpc/imc-pmu: Fix use of mutex in > IRQs disabled section") fixed warnings (and possible deadlocks) in the > IMC PMU driver by converting the locking to use spinlocks. > > It also converted the init-time nest_init_l

Re: [PATCH V2 1/3] core/device: Add function to return child node using name at substring "@"

2023-01-30 Thread Mahesh J Salgaonkar
On 2023-01-18 11:14:50 Wed, Athira Rajeev wrote: > Add a function dt_find_by_name_substr() that returns the child node if > it matches till first occurence at "@" of a given name, otherwise NULL. > This is helpful for cases with node name like: "name@addr". In > scenarios where nodes are added with