Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-22 Thread Greg Kroah-Hartman
On Tue, Jul 22, 2025 at 03:56:40PM +0200, Thierry Reding wrote: > On Sat, Jul 19, 2025 at 08:52:41AM +0200, Greg Kroah-Hartman wrote: > > On Fri, Jul 18, 2025 at 03:49:37PM +0200, Thierry Reding wrote: > > > On Thu, Jul 17, 2025 at 02:11:41PM +0200, Greg Kroah-Hartman wrote: >

Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-18 Thread Greg Kroah-Hartman
On Fri, Jul 18, 2025 at 03:49:37PM +0200, Thierry Reding wrote: > On Thu, Jul 17, 2025 at 02:11:41PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Jul 17, 2025 at 12:32:34PM +0200, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > Hi, > > >

Re: [PATCH v2 0/7] syscore: Pass context data to callbacks

2025-07-17 Thread Greg Kroah-Hartman
On Thu, Jul 17, 2025 at 12:32:34PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Hi, > > Something that's been bugging me over the years is how some drivers have > had to adopt file-scoped variables to pass data into something like the > syscore operations. This is often harmless, but

Re: [PATCH v3] powerpc: Drop GPL boilerplate text with obsolete FSF address

2025-07-16 Thread Greg Kroah-Hartman
entifier, so it should be > fine to simply drop all of this license boilerplate code here. > > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Thomas Huth Reviewed-by: Greg Kroah-Hartman

Re: [PATCH v2] powerpc: Replace the obsolete address of the FSF

2025-07-11 Thread Greg Kroah-Hartman
On Fri, Jul 11, 2025 at 12:32:57AM -0700, Christoph Hellwig wrote: > On Fri, Jul 11, 2025 at 09:30:31AM +0200, Greg Kroah-Hartman wrote: > > That's a crazy exception, and one that should probably be talked about > > with the FSF to determine exactly what the SPDX lines should b

Re: [PATCH v2] powerpc: Replace the obsolete address of the FSF

2025-07-11 Thread Greg Kroah-Hartman
On Fri, Jul 11, 2025 at 09:09:08AM +0200, Thomas Huth wrote: > On 11/07/2025 07.52, Greg Kroah-Hartman wrote: > > On Fri, Jul 11, 2025 at 07:35:09AM +0200, Thomas Huth wrote: > > > From: Thomas Huth > > > > > > The FSF does not reside in the Franklin st

Re: [PATCH v2] powerpc: Replace the obsolete address of the FSF

2025-07-10 Thread Greg Kroah-Hartman
On Fri, Jul 11, 2025 at 07:35:09AM +0200, Thomas Huth wrote: > From: Thomas Huth > > The FSF does not reside in the Franklin street anymore. Let's update > the address with the link to their website, as suggested in the latest > revision of the GPL-2.0 license. > (See https://www.gnu.org/licenses

Re: [PATCH] global: fix misapplications of "awhile"

2025-07-02 Thread Greg Kroah-Hartman
On Wed, Jul 02, 2025 at 09:32:45PM +0200, Ahelenia Ziemiańska wrote: > Of these: > 7 "for a while" typos > 5 "take a while" typos > 1 misreading of "once in a while"? > > 3 awhiles used correctly remain in the tree > > Signed-off-by: Ahelenia Ziemiańska Please properly break your patch up

[PATCH 5.15 153/620] module: Extend the preempt disabled section in dereference_symbol_descriptor().

2025-03-11 Thread Greg Kroah-Hartman
5.15-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit a145c848d69f9c6f32008d8319edaa133360dd74 ] dereference_symbol_descriptor() needs to obtain the module pointer belonging to pointer in order to resol

[PATCH 5.10 093/462] module: Extend the preempt disabled section in dereference_symbol_descriptor().

2025-03-11 Thread Greg Kroah-Hartman
5.10-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit a145c848d69f9c6f32008d8319edaa133360dd74 ] dereference_symbol_descriptor() needs to obtain the module pointer belonging to pointer in order to resol

[PATCH 5.4 059/328] module: Extend the preempt disabled section in dereference_symbol_descriptor().

2025-03-11 Thread Greg Kroah-Hartman
5.4-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit a145c848d69f9c6f32008d8319edaa133360dd74 ] dereference_symbol_descriptor() needs to obtain the module pointer belonging to pointer in order to resolv

[PATCH 6.1 207/578] module: Extend the preempt disabled section in dereference_symbol_descriptor().

2025-02-19 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit a145c848d69f9c6f32008d8319edaa133360dd74 ] dereference_symbol_descriptor() needs to obtain the module pointer belonging to pointer in order to resolv

[PATCH 6.13 483/623] module: Extend the preempt disabled section in dereference_symbol_descriptor().

2025-02-05 Thread Greg Kroah-Hartman
6.13-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit a145c848d69f9c6f32008d8319edaa133360dd74 ] dereference_symbol_descriptor() needs to obtain the module pointer belonging to pointer in order to resol

[PATCH 6.12 447/590] module: Extend the preempt disabled section in dereference_symbol_descriptor().

2025-02-05 Thread Greg Kroah-Hartman
6.12-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit a145c848d69f9c6f32008d8319edaa133360dd74 ] dereference_symbol_descriptor() needs to obtain the module pointer belonging to pointer in order to resol

[PATCH 6.13 290/623] perf machine: Dont ignore _etext when not a text symbol

2025-02-05 Thread Greg Kroah-Hartman
6.13-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy [ Upstream commit 7a93786c306296f15e728b1dbd949a319e4e3d19 ] Depending on how vmlinux.lds is written, _etext might be the very first data symbol instead of the very last text

[PATCH 6.6 309/393] module: Extend the preempt disabled section in dereference_symbol_descriptor().

2025-02-05 Thread Greg Kroah-Hartman
6.6-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit a145c848d69f9c6f32008d8319edaa133360dd74 ] dereference_symbol_descriptor() needs to obtain the module pointer belonging to pointer in order to resolv

[PATCH 6.12 270/590] perf machine: Dont ignore _etext when not a text symbol

2025-02-05 Thread Greg Kroah-Hartman
6.12-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy [ Upstream commit 7a93786c306296f15e728b1dbd949a319e4e3d19 ] Depending on how vmlinux.lds is written, _etext might be the very first data symbol instead of the very last text

[PATCH 6.6 175/393] perf machine: Dont ignore _etext when not a text symbol

2025-02-05 Thread Greg Kroah-Hartman
6.6-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy [ Upstream commit 7a93786c306296f15e728b1dbd949a319e4e3d19 ] Depending on how vmlinux.lds is written, _etext might be the very first data symbol instead of the very last text s

Re: [PATCH v2 0/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()

2025-01-10 Thread Greg Kroah-Hartman
On Thu, Jan 09, 2025 at 12:23:01AM -0800, Christoph Hellwig wrote: > On Thu, Jan 09, 2025 at 09:12:03AM +0100, Greg Kroah-Hartman wrote: > > > Hey, when I duplicated the method to convert sysfs over to a proper > > > seq_file based approach that avoids buffer overflows you ba

Re: [PATCH v2 0/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()

2025-01-09 Thread Greg Kroah-Hartman
On Thu, Jan 09, 2025 at 12:06:09AM -0800, Christoph Hellwig wrote: > On Thu, Jan 09, 2025 at 08:56:37AM +0100, Greg Kroah-Hartman wrote: > > The "pointless" penalty will go away once we convert all instances, and > > really, it's just one pointer check, sysfs files sh

Re: [PATCH v2 0/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()

2025-01-08 Thread Greg Kroah-Hartman
On Wed, Jan 08, 2025 at 09:45:45AM -0800, Alexei Starovoitov wrote: > On Tue, Dec 31, 2024 at 2:30 AM Thomas Weißschuh wrote: > > > > On 2024-12-30 16:50:41-0800, Alexei Starovoitov wrote: > > > On Sat, Dec 28, 2024 at 12:43 AM Thomas Weißschuh > > > wrote: > > > > > > > > Most users use this fu

Re: [PATCH v2 02/10] sysfs: introduce callback attribute_group::bin_size

2024-11-06 Thread Greg Kroah-Hartman
On Thu, Nov 07, 2024 at 05:05:13AM +0900, Krzysztof Wilczyński wrote: > Hello, > > > Several drivers need to dynamically calculate the size of an binary > > attribute. Currently this is done by assigning attr->size from the > > is_bin_visible() callback. > > > > This has drawbacks: > > * It is no

Re: [PATCH] tty: hvc: riscv_sbi: instantiate the legcay console earlier

2024-10-13 Thread Greg Kroah-Hartman
On Mon, Oct 14, 2024 at 08:08:57AM +0800, Jisheng Zhang wrote: > The hvc_instantiate() is an early console discovery mechanism, it is > usually called before allocating hvc terminal devices. In fact, if > we check hvc_riscv_sbi's hvc_instantiate() return value, we'll find > that it's -1. So the cal

[PATCH 6.10 345/809] tools/perf: Fix the string match for "/tmp/perf-$PID.map" files in dso__load

2024-07-30 Thread Greg Kroah-Hartman
6.10-stable review patch. If anyone has any objections, please let me know. -- From: Athira Rajeev [ Upstream commit b0979f008f1352a44cd3c8877e3eb8a1e3e1c6f3 ] Perf test for perf probe of function from different CU fails as below: ./perf test -vv "test perf probe of f

[PATCH 6.1 157/440] perf tests arm_callgraph_fp: Address shellcheck warnings about signal names and adding double quotes for expression

2024-07-30 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Spoorthy S [ Upstream commit 1bb17b4c6c91ad4d9468247cf5f5464fa6440668 ] Running shellcheck -S on test_arm_calligraph_fp throws warnings SC2086 and SC3049,   $shellcheck -S warning tests/s

Re: [PATCH v4] cxl: Fix possible null pointer dereference in read_handle()

2024-07-15 Thread Greg Kroah-Hartman
behavior. > … > > Does such information indicate any communication difficulties? Hi, This is the semi-friendly patch-bot of Greg Kroah-Hartman. Markus, you seem to have sent a nonsensical or otherwise pointless review comment to a patch submission on a Linux kernel developer mailing li

Re: WARNING&Oops in v6.6.37 on ppc64lea - Trying to vfree() bad address (00000000453be747)

2024-07-09 Thread Greg Kroah-Hartman
On Tue, Jul 09, 2024 at 03:02:13PM +0530, Naveen N Rao wrote: > Greg Kroah-Hartman wrote: > > On Mon, Jul 08, 2024 at 11:16:48PM -0400, matoro wrote: > > > On 2024-07-05 16:34, Vitaly Chikunov wrote: > > > > Hi, > > > > > There is new WARNING and Oops

Re: WARNING&Oops in v6.6.37 on ppc64lea - Trying to vfree() bad address (00000000453be747)

2024-07-09 Thread Greg Kroah-Hartman
On Mon, Jul 08, 2024 at 11:16:48PM -0400, matoro wrote: > On 2024-07-05 16:34, Vitaly Chikunov wrote: > > Hi, > > > > There is new WARNING and Oops on ppc64le in v6.6.37 when running LTP tests: > > bpf_prog01, bpf_prog02, bpf_prog04, bpf_prog05, prctl04. Logs excerpt > > below. I > > see there is

[PATCH] driver core: have match() callback in struct bus_type take a const *

2024-07-01 Thread Greg Kroah-Hartman
point in time (they have a local lock in the driver structure.) That will have to be changed in the future if they wish to have their struct device * in read-only-memory. Cc: "Rafael J. Wysocki" Signed-off-by: Greg Kroah-Hartman --- - cc: list suppressed as it just touches too many

Re: [PATCH 2/2] treewide: Use sysfs_bin_attr_simple_read() helper

2024-05-23 Thread Greg Kroah-Hartman
On Wed, May 22, 2024 at 07:51:35PM -0700, Guenter Roeck wrote: > Hi, > > On Sat, Apr 06, 2024 at 03:52:02PM +0200, Lukas Wunner wrote: > > Deduplicate ->read() callbacks of bin_attributes which are backed by a > > simple buffer in memory: > > > > Use the newly introduced sysfs_bin_attr_simple_rea

Re: CVE-2023-52665: powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2

2024-05-21 Thread Greg Kroah-Hartman
On Tue, May 21, 2024 at 09:47:33AM +1000, Michael Ellerman wrote: > Greg Kroah-Hartman writes: > > On Mon, May 20, 2024 at 05:35:32PM +0900, Geoff Levand wrote: > >> On 5/20/24 16:04, Michael Ellerman wrote: > >> > Greg Kroah-Hartma

Re: CVE-2023-52665: powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2

2024-05-20 Thread Greg Kroah-Hartman
On Mon, May 20, 2024 at 05:35:32PM +0900, Geoff Levand wrote: > On 5/20/24 16:04, Michael Ellerman wrote: > > Greg Kroah-Hartman writes: > >> Description > >> === > >> > >> In the Linux kernel, the following vulnerability has been resol

Re: [PATCH 0/6] Deduplicate string exposure in sysfs

2024-05-04 Thread Greg Kroah-Hartman
On Sat, May 04, 2024 at 04:31:42PM +0200, Lukas Wunner wrote: > Dear Greg, > > On Sat, Apr 20, 2024 at 10:00:00PM +0200, Lukas Wunner wrote: > > Introduce a generic ->show() callback to expose a string as a device > > attribute in sysfs. Deduplicate various identical callbacks across > > the tree

Re: [PATCH 0/2] Deduplicate bin_attribute simple read() callbacks

2024-04-11 Thread Greg Kroah-Hartman
On Sat, Apr 06, 2024 at 03:52:00PM +0200, Lukas Wunner wrote: > For my upcoming PCI device authentication v2 patches, I have the need > to expose a simple buffer in virtual memory as a bin_attribute. > > It turns out we've duplicated the ->read() callback for such simple > buffers a fair number of

Re: [PATCH 1/2] sysfs: Add sysfs_bin_attr_simple_read() helper

2024-04-11 Thread Greg Kroah-Hartman
fs/sysfs/file.c | 27 +++ > include/linux/sysfs.h | 15 +++++++ > 2 files changed, 42 insertions(+) Reviewed-by: Greg Kroah-Hartman

Re: [PATCH] MAINTAINERS: Drop Li Yang as their email address stopped working

2024-04-10 Thread Greg Kroah-Hartman
On Wed, Apr 10, 2024 at 08:42:06AM +0200, Uwe Kleine-König wrote: > On Tue, Apr 09, 2024 at 02:42:04PM -0700, Jakub Kicinski wrote: > > On Fri, 5 Apr 2024 09:20:41 +0200 Uwe Kleine-König wrote: > > > When sending a patch to (among others) Li Yang the nxp MTA replied that > > > the address doesn't

Re: [PATCH] serial/pmac_zilog: Remove flawed mitigation for rx irq flood

2024-04-07 Thread Greg Kroah-Hartman
On Mon, Apr 08, 2024 at 07:37:22AM +0200, Jiri Slaby wrote: > On 08. 04. 24, 7:32, Jiri Slaby wrote: > > On 08. 04. 24, 7:29, Michael Ellerman wrote: > > > Many maintainers won't drop Cc: tags if they are there in the submitted > > > patch. So I agree with Andy that we should encourage folks not to

Re: [PATCH 00/11] misc: Convert to platform remove callback returning void

2024-03-04 Thread Greg Kroah-Hartman
On Mon, Mar 04, 2024 at 11:36:23PM +0100, Uwe Kleine-König wrote: > Hello Arnd, hello Greg, > > On Wed, Feb 21, 2024 at 02:52:29PM +0100, Arnd Bergmann wrote: > > On Wed, Feb 21, 2024, at 10:53, Uwe Kleine-König wrote: > > > Hello, > > > > > > this series converts all drivers below drivers/misc to

Re: [PATCH] usb: gadget: fsl-udc: Replace custom log wrappers by pr_{err,warn,debug}

2024-03-04 Thread Greg Kroah-Hartman
On Mon, Mar 04, 2024 at 01:11:53PM +0100, Uwe Kleine-König wrote: > The custom log wrappers ERR, WARNING and DBG don't add anything useful > that cannot easily be done with pr_err() and friends. Replace the custom > stuff by the well known functions from printk.h. These really should be dev_*() as

Re: [PATCH 0/2] ALSA: struct bus_type cleanup

2024-02-14 Thread Greg Kroah-Hartman
rg/lkml/?q=f%3Agregkh%40linuxfoundation.org+s%3A%22make%22+and+s%3A%22const%22 > > To: Johannes Berg > To: Jaroslav Kysela > To: Takashi Iwai > Cc: > Cc: > Cc: > Cc: > Cc: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere Reviewed-by: Greg Kroah-Hartman

Re: [PATCH] tty: hvc-iucv: fix function pointer casts

2024-02-14 Thread Greg Kroah-Hartman
On Wed, Feb 14, 2024 at 09:46:33AM +, David Laight wrote: > From: Segher Boessenkool > > Sent: 13 February 2024 19:13 > > > > On Tue, Feb 13, 2024 at 11:17:49AM +0100, Arnd Bergmann wrote: > > > clang warns about explicitly casting between incompatible function > > > pointers: > > > > > > driv

Re: [PATCH v2 0/5] powerpc: struct bus_type cleanup

2024-02-13 Thread Greg Kroah-Hartman
have > no dependency. They were built using bootlin's without warnings using > powerpc64le-power8--glibc--stable-2023.11-1 toolchain. > > --- > [1]: > https://lore.kernel.org/lkml/?q=f%3Agregkh%40linuxfoundation.org+s%3A%22make%22+and+s%3A%22const%22 > > Cc: Greg Kro

Re: [PATCH 0/4] powerpc: struct bus_type cleanup

2024-02-04 Thread Greg Kroah-Hartman
430abd2e05d7ddcdd8aa > > Cc: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere Reviewed-by: Greg Kroah-Hartman

[PATCH 6.7 517/641] perf vendor events powerpc: Update datasource event name to fix duplicate events

2024-01-22 Thread Greg Kroah-Hartman
6.7-stable review patch. If anyone has any objections, please let me know. -- From: Athira Rajeev [ Upstream commit 9eef41014fe01287dae79fe208b9b433b13040bb ] Running "perf list" on powerpc fails with segfault as below: $ ./perf list Segmentation fault (core dumped)

Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

2023-12-05 Thread Greg Kroah-Hartman
On Tue, Dec 05, 2023 at 10:18:49PM +0530, Naresh Kamboju wrote: > On Tue, 5 Dec 2023 at 09:10, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.15.142 release. > > There are 67 patches in this series, all will be posted as a respo

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

2023-11-28 Thread Greg Kroah-Hartman
; Signed-off-by: Anup Patel > --- > drivers/tty/hvc/Kconfig | 2 +- > drivers/tty/hvc/hvc_riscv_sbi.c | 37 ++--- > 2 files changed, 31 insertions(+), 8 deletions(-) Acked-by: Greg Kroah-Hartman

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

2023-11-28 Thread Greg Kroah-Hartman
2 +- > drivers/tty/serial/earlycon-riscv-sbi.c | 27 ++--- > 2 files changed, 25 insertions(+), 4 deletions(-) Acked-by: Greg Kroah-Hartman

Re: [PATCH 20/22] usb: fsl-mph-dr-of: mark fsl_usb2_mpc5121_init() static

2023-11-21 Thread Greg Kroah-Hartman
[-Werror=missing-prototypes] > > Fixes: 230f7ede6c2f ("USB: add USB EHCI support for MPC5121 SoC") > Signed-off-by: Arnd Bergmann Acked-by: Greg Kroah-Hartman

Re: [PATCH] cxl: make cxl_class constant

2023-10-25 Thread Greg Kroah-Hartman
On Wed, Oct 25, 2023 at 10:16:55AM +0200, Frederic Barrat wrote: > > > On 24/10/2023 13:48, Greg Kroah-Hartman wrote: > > Now that the driver core allows for struct class to be in read-only > > memory, we should make all 'class' structures declared at build time

[PATCH] ocxl: make ocxl_class constant

2023-10-24 Thread Greg Kroah-Hartman
rgmann Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Greg Kroah-Hartman --- drivers/misc/ocxl/file.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/drivers/misc/ocxl/file.c b/drivers/misc/ocxl/file.c index 6e63f060e4cc..ac69b7f361f5 100644 ---

[PATCH] cxl: make cxl_class constant

2023-10-24 Thread Greg Kroah-Hartman
rgmann Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Greg Kroah-Hartman --- drivers/misc/cxl/file.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/misc/cxl/file.c b/drivers/misc/cxl/file.c index 144d1f2d78ce..012e11b959bc 100644 --- a/driver

Re: [PATCH v3 8/9] tty: Add SBI debug console support to HVC SBI driver

2023-10-21 Thread Greg Kroah-Hartman
On Fri, Oct 20, 2023 at 12:51:39PM +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 > --- > drive

Re: [PATCH v3 7/9] tty/serial: Add RISC-V SBI debug console based earlycon

2023-10-21 Thread Greg Kroah-Hartman
On Fri, Oct 20, 2023 at 12:51:38PM +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 +- > drivers/tty/

Re: [PATCH v3 6/9] RISC-V: Add stubs for sbi_console_putchar/getchar()

2023-10-21 Thread Greg Kroah-Hartman
On Fri, Oct 20, 2023 at 12:51:37PM +0530, Anup Patel wrote: > The functions sbi_console_putchar() and sbi_console_getchar() are > not defined when CONFIG_RISCV_SBI_V01 is disabled so let us add > stub of these functions to avoid "#ifdef" on user side. > > Signed-off-by: Anup Patel > Reviewed-by:

Re: [PATCH v2 1/3] hvc/xen: fix event channel handling for secondary consoles

2023-10-21 Thread Greg Kroah-Hartman
On Fri, Oct 20, 2023 at 05:15:27PM +0100, David Woodhouse wrote: > From: David Woodhouse > > The xencons_connect_backend() function allocates a local interdomain > event channel with xenbus_alloc_evtchn(), then calls > bind_interdomain_evtchn_to_irq_lateeoi() to bind to that port# on the > *remot

Re: [PATCH 2/6] RISC-V: KVM: Change the SBI specification version to v2.0

2023-10-11 Thread Greg Kroah-Hartman
On Wed, Oct 11, 2023 at 04:32:22PM +0530, Anup Patel wrote: > On Wed, Oct 11, 2023 at 12:57 PM Greg Kroah-Hartman > wrote: > > > > On Wed, Oct 11, 2023 at 11:49:14AM +0530, Anup Patel wrote: > > > On Tue, Oct 10, 2023 at 10:43 PM Greg Kroah-Hartman > > > w

Re: [PATCH 2/6] RISC-V: KVM: Change the SBI specification version to v2.0

2023-10-11 Thread Greg Kroah-Hartman
On Wed, Oct 11, 2023 at 11:49:14AM +0530, Anup Patel wrote: > On Tue, Oct 10, 2023 at 10:43 PM Greg Kroah-Hartman > wrote: > > > > On Tue, Oct 10, 2023 at 10:34:59PM +0530, Anup Patel wrote: > > > We will be implementing SBI DBCN extension for KVM RISC-V so let > &g

Re: [PATCH 3/6] RISC-V: KVM: Forward SBI DBCN extension to user-space

2023-10-11 Thread Greg Kroah-Hartman
On Wed, Oct 11, 2023 at 12:02:30PM +0530, Anup Patel wrote: > On Tue, Oct 10, 2023 at 10:45 PM Greg Kroah-Hartman > wrote: > > > > On Tue, Oct 10, 2023 at 10:35:00PM +0530, Anup Patel wrote: > > > The SBI DBCN extension needs to be emulated in user-space > > >

Re: [PATCH 4/6] tty/serial: Add RISC-V SBI debug console based earlycon

2023-10-10 Thread Greg Kroah-Hartman
On Tue, Oct 10, 2023 at 10:35:01PM +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 > --- > drivers/tty/serial/Kconfig | 2 +- > drivers/tty/serial/earlycon-riscv-sbi.c |

Re: [PATCH 3/6] RISC-V: KVM: Forward SBI DBCN extension to user-space

2023-10-10 Thread Greg Kroah-Hartman
On Tue, Oct 10, 2023 at 10:35:00PM +0530, Anup Patel wrote: > The SBI DBCN extension needs to be emulated in user-space Why? > so let > us forward console_puts() call to user-space. What could go wrong! Why does userspace have to get involved in a console message? Why is this needed at all? T

Re: [PATCH 2/6] RISC-V: KVM: Change the SBI specification version to v2.0

2023-10-10 Thread Greg Kroah-Hartman
On Tue, Oct 10, 2023 at 10:34:59PM +0530, Anup Patel wrote: > We will be implementing SBI DBCN extension for KVM RISC-V so let > us change the KVM RISC-V SBI specification version to v2.0. > > Signed-off-by: Anup Patel > --- > arch/riscv/include/asm/kvm_vcpu_sbi.h | 2 +- > 1 file changed, 1 ins

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

2023-10-10 Thread Greg Kroah-Hartman
On Tue, Oct 10, 2023 at 10:35:02PM +0530, Anup Patel wrote: > --- a/drivers/tty/hvc/hvc_riscv_sbi.c > +++ b/drivers/tty/hvc/hvc_riscv_sbi.c > @@ -15,6 +15,7 @@ > > #include "hvc_console.h" > > +#ifdef CONFIG_RISCV_SBI_V01 Please no #ifdef in a .c file, that's not a good style for Linux code a

Re: [PATCH v3 0/9] video: screen_info cleanups

2023-10-10 Thread Greg Kroah-Hartman
On Tue, Oct 10, 2023 at 01:48:07PM +0200, Daniel Vetter wrote: > On Mon, Oct 09, 2023 at 11:18:36PM +0200, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > v3 changelog > > > > No real changes, just rebased for context changes, and picked up the Acks. > > > > This now conflicts with the ia6

Re: [PATCH 04/15] tty: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Greg Kroah-Hartman
On Mon, Oct 02, 2023 at 08:47:53AM +, Christophe Leroy wrote: > > > Le 02/10/2023 à 10:17, Jiri Slaby a écrit : > > On 28. 09. 23, 15:21, Joel Granados via B4 Relay wrote: > >> From: Joel Granados > >> > >> This commit comes at the tail end of a greater effort to remove the > >> empty elemen

Re: [PATCH 01/15] cdrom: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Greg Kroah-Hartman
On Thu, Sep 28, 2023 at 03:21:26PM +0200, Joel Granados via B4 Relay wrote: > From: Joel Granados > > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the ctl_table arrays (sentinels) which > will reduce the overall build time size of the kernel a

Re: [PATCH v1 0/8] Fix set_huge_pte_at() panic on arm64

2023-09-22 Thread Greg Kroah-Hartman
On Thu, Sep 21, 2023 at 05:35:54PM +0100, Ryan Roberts wrote: > On 21/09/2023 17:30, Andrew Morton wrote: > > On Thu, 21 Sep 2023 17:19:59 +0100 Ryan Roberts > > wrote: > > > >> Hi All, > >> > >> This series fixes a bug in arm64's implementation of set_huge_pte_at(), > >> which > >> can result

Re: [PATCH tty v1 00/74] serial: wrappers for uart port lock

2023-09-18 Thread Greg Kroah-Hartman
On Mon, Sep 18, 2023 at 10:29:30AM +0206, John Ogness wrote: > On 2023-09-14, John Ogness wrote: > > Provide and use wrapper functions for spin_[un]lock*(port->lock) > > invocations so that the console mechanics can be applied later on at a > > single place and does not require to copy the same lo

[PATCH 5.15 422/511] perf vendor events: Drop some of the JSON/events for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
5.15-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit e104df97b8dcfbab2e42de634b99bf03f0805d85 ] Drop some of the JSON/events for power10 platform due to counter data mismatch. Fixes: 32daa5d7899e0343 ("perf vendor e

[PATCH 5.15 421/511] perf vendor events: Update the JSON/events descriptions for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
5.15-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 3286f88f31da060ac2789cee247153961ba57e49 ] Update the description for some of the JSON/events for power10 platform. Fixes: 32daa5d7899e0343 ("perf vendor events:

[PATCH 6.1 080/219] perf test stat_bpf_counters_cgrp: Fix shellcheck issue about logical operators

2023-09-17 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 0dd1f815545d7210150642741c364521cc5cf116 ] Running shellcheck on lock_contention.sh generates below warning: In stat_bpf_counters_cgrp.sh line 28: if [ -d

[PATCH 6.1 076/219] perf vendor events: Drop STORES_PER_INST metric event for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 4836b9a85ef148c7c9779b66fab3f7279e488d90 ] Drop STORES_PER_INST metric event for the power10 platform, as the metric expression of STORES_PER_INST metric event usin

[PATCH 6.1 075/219] perf vendor events: Drop some of the JSON/events for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit e104df97b8dcfbab2e42de634b99bf03f0805d85 ] Drop some of the JSON/events for power10 platform due to counter data mismatch. Fixes: 32daa5d7899e0343 ("perf vendor ev

[PATCH 6.1 074/219] perf vendor events: Update the JSON/events descriptions for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 3286f88f31da060ac2789cee247153961ba57e49 ] Update the description for some of the JSON/events for power10 platform. Fixes: 32daa5d7899e0343 ("perf vendor events: I

[PATCH 6.5 097/285] perf test stat_bpf_counters_cgrp: Fix shellcheck issue about logical operators

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 0dd1f815545d7210150642741c364521cc5cf116 ] Running shellcheck on lock_contention.sh generates below warning: In stat_bpf_counters_cgrp.sh line 28: if [ -d

[PATCH 6.5 088/285] perf vendor events: Update metric event names for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit edd65d2bc55fb84d7b80c2ffe3b74d9b11ac4e2f ] Update metric event name for some of the JSON/metric events for power10 platform. Fixes: 3ca3af7d1f230d1f ("perf vendor

[PATCH 6.5 087/285] perf vendor events: Move JSON/events to appropriate files for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 7d473f475b2aff7e7c5d63b6f701c54590f84781 ] Move some of the power10 JSON/events to appropriate files. Fixes: 32daa5d7899e0343 ("perf vendor events: Initial JSON/ev

[PATCH 6.5 086/285] perf vendor events: Drop STORES_PER_INST metric event for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 4836b9a85ef148c7c9779b66fab3f7279e488d90 ] Drop STORES_PER_INST metric event for the power10 platform, as the metric expression of STORES_PER_INST metric event usin

[PATCH 6.5 085/285] perf vendor events: Drop some of the JSON/events for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit e104df97b8dcfbab2e42de634b99bf03f0805d85 ] Drop some of the JSON/events for power10 platform due to counter data mismatch. Fixes: 32daa5d7899e0343 ("perf vendor ev

[PATCH 6.5 084/285] perf vendor events: Update the JSON/events descriptions for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 3286f88f31da060ac2789cee247153961ba57e49 ] Update the description for some of the JSON/events for power10 platform. Fixes: 32daa5d7899e0343 ("perf vendor events: I

[PATCH 4.19 077/323] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-08-09 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 4.19 061/323] soc/fsl/qe: fix usb.c build errors

2023-08-09 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ] Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE

[PATCH 4.14 050/204] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-08-09 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 4.14 041/204] soc/fsl/qe: fix usb.c build errors

2023-08-09 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ] Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE

Re: [PATCH] Documentation: devices.txt: reconcile serial/ucc_uart minor numers

2023-07-25 Thread Greg Kroah-Hartman
> Cc: Kumar Gala > Cc: linuxppc-dev@lists.ozlabs.org > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux-ser...@vger.kernel.org > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > --- > Documentation/admin-guide/devices.txt |2 +- > drivers/tty/serial/ucc

[PATCH 5.4 110/313] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-07-25 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 5.4 084/313] soc/fsl/qe: fix usb.c build errors

2023-07-25 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ] Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE

[PATCH 5.10 201/509] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-07-25 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 5.10 132/509] soc/fsl/qe: fix usb.c build errors

2023-07-25 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ] Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE

[PATCH 5.15 225/532] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-07-21 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 5.15 149/532] soc/fsl/qe: fix usb.c build errors

2023-07-21 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ] Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE

[PATCH 6.1 336/591] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-07-16 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 6.1 219/591] soc/fsl/qe: fix usb.c build errors

2023-07-16 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ] Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE

[PATCH 6.4 501/800] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-07-16 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 6.4 473/800] perf tests task_analyzer: Skip tests if no libtraceevent support

2023-07-16 Thread Greg Kroah-Hartman
From: Aditya Gupta [ Upstream commit c3ac3b0779770acd3ad7eecb5099ab4419ef2e2e ] Test "perf script task-analyzer tests" fails in environment with missing libtraceevent support, as perf record fails to create the perf.data file, which further tests depend on. Instead, when perf is not compiled wi

[PATCH 6.4 472/800] perf tests task_analyzer: Fix bad substitution ${$1}

2023-07-16 Thread Greg Kroah-Hartman
From: Aditya Gupta [ Upstream commit 5c4396efb53ef07d046a2e9456b240880e0c3076 ] ${$1} gives bad substitution error on sh, bash, and zsh. This seems like a typo, and this patch modifies it to $1, since that is what it's usage looks like from wherever `check_exec_0` is called. This issue due to $

[PATCH 6.4 336/800] soc/fsl/qe: fix usb.c build errors

2023-07-16 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit 7b1a78babd0d2cd27aa07255dee0c2d7ac0f31e3 ] Fix build errors in soc/fsl/qe/usb.c when QUICC_ENGINE is not set. This happens when PPC_EP88XC is set, which selects CPM1 & CPM. When CPM is set, USB_FSL_QE can be set without QUICC_ENGINE being set. When USB_FSL_QE

Re: [PATCH v4 12/18] staging: Remove flag FBINFO_FLAG_DEFAULT from fbdev drivers

2023-07-15 Thread Greg Kroah-Hartman
After cleaning > up all occurrences of FBINFO_DEFAULT, the token will be removed. > > v2: > * fix commit message (Miguel) > > Signed-off-by: Thomas Zimmermann > Acked-by: Sam Ravnborg > Cc: Greg Kroah-Hartman > Cc: Sudip Mukherjee > Cc: Teddy Wang Acked-by: Greg Kroah-Hartman

[PATCH 6.3 400/431] crypto: nx - fix build warnings when DEBUG_FS is not enabled

2023-07-09 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit b04b076fb56560b39d695ac3744db457e12278fd ] Fix build warnings when DEBUG_FS is not enabled by using an empty do-while loop instead of a value: In file included from ../drivers/crypto/nx/nx.c:27: ../drivers/crypto/nx/nx.c: In function 'nx_register_algs': ../d

[PATCH 6.3 376/431] perf tests task_analyzer: Skip tests if no libtraceevent support

2023-07-09 Thread Greg Kroah-Hartman
From: Aditya Gupta [ Upstream commit c3ac3b0779770acd3ad7eecb5099ab4419ef2e2e ] Test "perf script task-analyzer tests" fails in environment with missing libtraceevent support, as perf record fails to create the perf.data file, which further tests depend on. Instead, when perf is not compiled wi

[PATCH 6.3 375/431] perf tests task_analyzer: Fix bad substitution ${$1}

2023-07-09 Thread Greg Kroah-Hartman
From: Aditya Gupta [ Upstream commit 5c4396efb53ef07d046a2e9456b240880e0c3076 ] ${$1} gives bad substitution error on sh, bash, and zsh. This seems like a typo, and this patch modifies it to $1, since that is what it's usage looks like from wherever `check_exec_0` is called. This issue due to $

  1   2   3   4   5   6   >