Re: [PATCH 09/15] staging: fbtft: fb_ssd1351.c: Introduce backlight_is_blank()

2023-01-08 Thread Stephen Kitt
Hi Sam, On Sun, 8 Jan 2023 21:29:43 +0100, Sam Ravnborg wrote: > On Sun, Jan 08, 2023 at 08:28:17PM +0100, Stephen Kitt wrote: > > On Sat, 07 Jan 2023 19:26:23 +0100, Sam Ravnborg via B4 Submission > > Endpoint wrote: > > > > > From: Sam Ravnborg > > > > > > Avoiding direct access to

Re: [PATCH net-next] Remove DECnet support from kernel

2023-01-08 Thread Jiri Slaby
On 18. 08. 22, 2:43, Stephen Hemminger wrote: DECnet is an obsolete network protocol that receives more attention from kernel janitors than users. It belongs in computer protocol history museum not in Linux kernel. It has been "Orphaned" in kernel since 2010. The iproute2 support for DECnet was

Re: [PATCH v2 7/7] powerpc/pseries: Implement secvars for dynamic secure boot

2023-01-08 Thread Andrew Donnellan
On Mon, 2023-01-09 at 14:34 +1100, Russell Currey wrote: > > > > +static int plpks_secvar_init(void) > > > +{ > > > +   if (!plpks_is_available()) > > > +   return -ENODEV; > > > + > > > +   set_secvar_ops(_secvar_ops); > > > +   set_secvar_config_attrs(config_attrs); > >

Re: [PATCH 4/4] powerpc/pseries: Implement signed update for PLPKS objects

2023-01-08 Thread Andrew Donnellan
On Fri, 2023-01-06 at 21:54 +1100, Michael Ellerman wrote: > > +int plpks_signed_update_var(struct plpks_var var, u64 flags) > > +{ > > I don't see a reason why var is passed by value here? A pointer would > be > more typical. Will change. -- Andrew DonnellanOzLabs, ADL Canberra

Re: [PATCH v2 7/7] powerpc/pseries: Implement secvars for dynamic secure boot

2023-01-08 Thread Andrew Donnellan
On Fri, 2023-01-06 at 17:49 +1100, Russell Currey wrote: > > > > > + */ > > > > Inconsistent comment style > > True, I'm using // for multi-line comments in other places.  I think > my > brain decided that this one was too long for that, but I'll make the > other multi-line comments similarly

Re: [PATCH v2 7/7] powerpc/pseries: Implement secvars for dynamic secure boot

2023-01-08 Thread Russell Currey
On Fri, 2023-01-06 at 21:49 +1100, Michael Ellerman wrote: > Russell Currey writes: > > 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

Re: [PATCH v2 7/7] powerpc/pseries: Implement secvars for dynamic secure boot

2023-01-08 Thread Andrew Donnellan
On Fri, 2023-01-06 at 21:49 +1100, Michael Ellerman wrote: > > +What:  /sys/firmware/secvar/config/supported_policies > > +Date:  December 2022 > > +Contact:   Nayna Jain > > +Description:   RO file, only present if the secvar implementation > > is PLPKS. > > + > > +   

Re: [PATCH 15/15] backlight: backlight: Drop the deprecated fb_blank property

2023-01-08 Thread Stephen Kitt
On Sat, 07 Jan 2023 19:26:29 +0100, Sam Ravnborg via B4 Submission Endpoint wrote: > From: Sam Ravnborg > > With all users gone remove the deprecated fb_blank member in > backlight_properties. > > Signed-off-by: Sam Ravnborg > Cc: Lee Jones > Cc: Daniel Thompson > Cc: Jingoo Han > --- >

Re: [PATCH 09/15] staging: fbtft: fb_ssd1351.c: Introduce backlight_is_blank()

2023-01-08 Thread Sam Ravnborg
Hi Stephen, On Sun, Jan 08, 2023 at 08:28:17PM +0100, Stephen Kitt wrote: > On Sat, 07 Jan 2023 19:26:23 +0100, Sam Ravnborg via B4 Submission Endpoint > wrote: > > > From: Sam Ravnborg > > > > Avoiding direct access to backlight_properties.props. > > > > Access to the deprecated

Re: [PATCH 09/15] staging: fbtft: fb_ssd1351.c: Introduce backlight_is_blank()

2023-01-08 Thread Stephen Kitt
On Sat, 07 Jan 2023 19:26:23 +0100, Sam Ravnborg via B4 Submission Endpoint wrote: > From: Sam Ravnborg > > Avoiding direct access to backlight_properties.props. > > Access to the deprecated props.fb_blank replaced by backlight_is_blank(). > Access to props.power is dropped - it was only used

Re: [PATCH 01/15] video: fbdev: atmel_lcdfb: Rework backlight handling

2023-01-08 Thread Sam Ravnborg
Hi Helge, > > > > Helge - could you pick the reviewed patches from: > > https://lore.kernel.org/all/20220607192335.1137249-1-st...@sk2.org/ > > [This is the same mail as Stephen refer to above - looked up via lore]. > > I just pulled those 7 patches into fbdev/for-next. > If you need more,

Re: [PATCH 01/15] video: fbdev: atmel_lcdfb: Rework backlight handling

2023-01-08 Thread Sam Ravnborg
Hi Stephen. > Here are my pending patches from last June on lore: > All patches are handled I think except this: > * https://lore.kernel.org/lkml/20220608205623.2106113-1-st...@sk2.org/ Can I ask you to drop the assignment that is not needed, and resend with the collected acks/r-b. With

Re: [PATCH 13/15] backlight: omap1: Use backlight helpers

2023-01-08 Thread Stephen Kitt
On Sat, 07 Jan 2023 19:26:27 +0100, Sam Ravnborg via B4 Submission Endpoint wrote: > From: Sam Ravnborg > > Rework backlight handling to avoid access to the deprecated > backlight_properties.fb_blank member. > > The rework includes removal of get_brightness() operation, > because there was no

Re: [PATCH 11/15] powerpc: via-pmu-backlight: Introduce backlight_get_brightness()

2023-01-08 Thread Stephen Kitt
On Sat, 07 Jan 2023 19:26:25 +0100, Sam Ravnborg via B4 Submission Endpoint wrote: > From: Sam Ravnborg > > Introduce backlight_get_brightness() to simplify logic > and avoid direct access to backlight properties. > > Signed-off-by: Sam Ravnborg > Cc: Benjamin Herrenschmidt > Cc: Sam

Re: [PATCH 10/15] staging: fbtft: core: Introduce backlight_is_blank()

2023-01-08 Thread Stephen Kitt
On Sat, 07 Jan 2023 19:26:24 +0100, Sam Ravnborg via B4 Submission Endpoint wrote: > From: Sam Ravnborg > > Avoiding direct access to backlight_properties.props. > > Access to the deprecated props.fb_blank replaced by backlight_is_blank(). > Access to props.power is dropped - it was only used

Re: [PATCH 01/15] video: fbdev: atmel_lcdfb: Rework backlight handling

2023-01-08 Thread Helge Deller
On 1/7/23 21:53, Sam Ravnborg wrote: Hi Stephen. On Sat, Jan 07, 2023 at 09:36:47PM +0100, Stephen Kitt wrote: On 7 January 2023 19:26:15 CET, Sam Ravnborg via B4 Submission Endpoint wrote: From: Sam Ravnborg The atmel_lcdfb had code to save/restore power state. This is not needed so drop

Re: [PATCH] mm: remove zap_page_range and create zap_vma_pages

2023-01-08 Thread Christoph Hellwig
I would have split this into one patch that adds the new zap_vma_pages helper, and one to remove zap_page_range to split the separate changes. But the overall result looks fine, so feel free to add: Reviewed-by: Christoph Hellwig to this or the split patches.

Re: [PATCH v2 08/10] dt-bindings: sound: Add support for QMC audio

2023-01-08 Thread Krzysztof Kozlowski
On 06/01/2023 17:37, Herve Codina wrote: > The QMC (QUICC mutichannel controller) is a controller > present in some PowerQUICC SoC such as MPC885. > The QMC audio is an ASoC component that uses the QMC > controller to transfer the audio data. > > Signed-off-by: Herve Codina > --- >

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

2023-01-08 Thread Krzysztof Kozlowski
On 06/01/2023 17:37, 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 ++ > 1 file changed, 167

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

2023-01-08 Thread Krzysztof Kozlowski
On 06/01/2023 17:37, 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 | 262 ++ >

[Bug 216095] sysfs: cannot create duplicate filename '/devices/platform/of-display'

2023-01-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216095 --- Comment #11 from Erhard F. (erhar...@mailbox.org) --- Created attachment 303554 --> https://bugzilla.kernel.org/attachment.cgi?id=303554=edit device tree - PowerMac G5 11,2 Here's also the device tree of my G5, having the same issue. It

[Bug 216095] sysfs: cannot create duplicate filename '/devices/platform/of-display'

2023-01-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216095 --- Comment #10 from Erhard F. (erhar...@mailbox.org) --- Created attachment 303553 --> https://bugzilla.kernel.org/attachment.cgi?id=303553=edit device tree - PowerMac G4 3,6 DP (In reply to Michal Suchánek from comment #9) > Could you also

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.2-2 tag

2023-01-08 Thread pr-tracker-bot
The pull request you sent on Sun, 08 Jan 2023 23:51:54 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.2-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/93928d485d9df12be724cbdf1caa7d197b65001e Thank you! --

[Bug 216902] WARNING: CPU: 0 PID: 70 at kernel/locking/irqflag-debug.c:10 at kallsyms_selftest

2023-01-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216902 --- Comment #1 from Erhard F. (erhar...@mailbox.org) --- Created attachment 303552 --> https://bugzilla.kernel.org/attachment.cgi?id=303552=edit kernel .config (6.2-rc2, PowerMac G5 11,2) -- You may reply to this email to add a comment. You

[Bug 216902] New: WARNING: CPU: 0 PID: 70 at kernel/locking/irqflag-debug.c:10 at kallsyms_selftest

2023-01-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216902 Bug ID: 216902 Summary: WARNING: CPU: 0 PID: 70 at kernel/locking/irqflag-debug.c:10 at kallsyms_selftest Product: Platform Specific/Hardware Version: 2.5 Kernel Version:

[GIT PULL] Please pull powerpc/linux.git powerpc-6.2-2 tag

2023-01-08 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull powerpc fixes for 6.2: The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98: Linux 6.2-rc2 (2023-01-01 13:53:16 -0800) are available in the git repository at:

Re: [PATCH 1/3] powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT

2023-01-08 Thread Michael Ellerman
On Fri, 6 Jan 2023 00:23:47 +1100, Michael Ellerman wrote: > The powerpc linker script explicitly includes .exit.text, because > otherwise the link fails due to references from __bug_table and > __ex_table. The code is freed (discarded) at runtime along with > .init.text and data. > > That has

[powerpc:merge] BUILD SUCCESS fbb89f11118f6ed27af1ad85ac983eb55574328d

2023-01-08 Thread kernel test robot
randconfig-r046-20230108 arc randconfig-r043-20230108 nios2 3c120_defconfig armtrizeps4_defconfig mips loongson1b_defconfig ia64zx1_defconfig powerpc storcenter_defconfig

[powerpc:fixes-test] BUILD SUCCESS be5f95c8779e19779dd81927c8574fec5aaba36c

2023-01-08 Thread kernel test robot
allnoconfig i386 debian-10.3-kselftests i386 debian-10.3 arm rpc_defconfig powerpc sequoia_defconfig sh kfr2r09-romimage_defconfig arm randconfig-c002-20230108 powerpc

Re: [PATCH v3 6/8] treewide: Trace IPIs sent via smp_send_reschedule()

2023-01-08 Thread Huacai Chen
Hi, Valentin, On Fri, Dec 2, 2022 at 11:59 PM Valentin Schneider wrote: > > To be able to trace invocations of smp_send_reschedule(), rename the > arch-specific definitions of it to arch_smp_send_reschedule() and wrap it > into an smp_send_reschedule() that contains a tracepoint. > > Changes to

Re: [PATCH v7 2/2] arm64: support batched/deferred tlb shootdown during page reclamation

2023-01-08 Thread Barry Song
On Fri, Jan 6, 2023 at 2:15 AM Catalin Marinas wrote: > > On Thu, Nov 17, 2022 at 04:26:48PM +0800, Yicong Yang wrote: > > It is tested on 4,8,128 CPU platforms and shows to be beneficial on > > large systems but may not have improvement on small systems like on > > a 4 CPU platform. So make

Re: [PATCH 12/15] auxdisplay: ht16k33: Introduce backlight_get_brightness()

2023-01-08 Thread Sam Ravnborg
Hi Robin. On Sat, Jan 07, 2023 at 10:02:38PM +0100, Miguel Ojeda wrote: > On Sat, Jan 7, 2023 at 7:26 PM Sam Ravnborg via B4 Submission Endpoint > wrote: > > > > Introduce backlight_get_brightness() to simplify logic > > and avoid direct access to backlight properties. > > Note: Stephen sent

Re: [PATCH 01/15] video: fbdev: atmel_lcdfb: Rework backlight handling

2023-01-08 Thread Stephen Kitt
On 7 January 2023 21:53:46 CET, Sam Ravnborg wrote: >Hi Stephen. > >On Sat, Jan 07, 2023 at 09:36:47PM +0100, Stephen Kitt wrote: >> On 7 January 2023 19:26:15 CET, Sam Ravnborg via B4 Submission Endpoint >> wrote: >> >From: Sam Ravnborg >> > >> >The atmel_lcdfb had code to save/restore power