[PATCH v2] powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y

2023-06-30 Thread Randy Dunlap
In a randconfig with CONFIG_SERIAL_CPM=m and CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error: ERROR: modpost: "udbg_putc" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined! Prevent the build error by allowing PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y. Fixes: c374e00e17f1 ("[POWERPC] Add

Re: [PATCH] powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y

2023-06-30 Thread Randy Dunlap
On 6/9/23 20:11, Randy Dunlap wrote: > Hi-- > > On 5/16/23 11:54, Pali Rohár wrote: >> On Tuesday 16 May 2023 08:28:54 Randy Dunlap wrote: >>> In a randconfig with CONFIG_SERIAL_CPM=m and >>> CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error: >>> ERROR: modpost: "udbg_putc"

[PATCH v2 RESEND RESEND] ASoC: fsl MPC52xx drivers require PPC_BESTCOMM

2023-06-30 Thread Randy Dunlap
Both SND_MPC52xx_SOC_PCM030 and SND_MPC52xx_SOC_EFIKA select SND_SOC_MPC5200_AC97. The latter symbol depends on PPC_BESTCOMM, so the 2 former symbols should also depend on PPC_BESTCOMM since "select" does not follow any dependency chains. This prevents a kconfig warning and build errors:

Re: [PATCH 00/79] fs: new accessors for inode->i_ctime

2023-06-30 Thread Luis Chamberlain
On Wed, Jun 21, 2023 at 03:21:41PM -0400, Steven Rostedt wrote: > On Wed, 21 Jun 2023 10:45:05 -0400 > Jeff Layton wrote: > > > Most of this conversion was done via coccinelle, with a few of the more > > non-standard accesses done by hand. There should be no behavioral > > changes with this set.

Re: [PATCH 01/79] fs: add ctime accessors infrastructure

2023-06-30 Thread Luis Chamberlain
On Wed, Jun 21, 2023 at 10:45:06AM -0400, Jeff Layton wrote: > struct timespec64 has unused bits in the tv_nsec field that can be used > for other purposes. In future patches, we're going to change how the > inode->i_ctime is accessed in certain inodes in order to make use of > them. In order to

Re: [FSL P50x0] [PASEMI] The Access to partitions on disks with an Amiga partition table doesn't work anymore after the block updates 2023-06-23

2023-06-30 Thread Michael Schmitz
Hi Martin, Christian, Am 01.07.2023 um 09:17 schrieb Michael Schmitz: By reverting my patch, you just reintroduce the old bug, which could result in mis-parsing the partition table in a way that is not detected by inane values of partition sizes as above, and as far as I recall this bug was

[PATCH v8 12/14] PCI/AER: Forward RCH downstream port-detected errors to the CXL.mem dev handler

2023-06-30 Thread Terry Bowman
From: Robert Richter In Restricted CXL Device (RCD) mode a CXL device is exposed as an RCiEP, but CXL downstream and upstream ports are not enumerated and not visible in the PCIe hierarchy. [1] Protocol and link errors from these non-enumerated ports are signaled as internal AER errors, either

Re: [PATCH v3 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-06-30 Thread Eric DeVolder
On 6/30/23 08:07, Alexander Gordeev wrote: On Mon, Jun 26, 2023 at 12:13:31PM -0400, Eric DeVolder wrote: The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the

Re: [FSL P50x0] [PASEMI] The Access to partitions on disks with an Amiga partition table doesn't work anymore after the block updates 2023-06-23

2023-06-30 Thread Michael Schmitz
Hi Martin, Am 30.06.2023 um 20:35 schrieb Martin Steigerwald: Hi Michael, hi Christian. Michael Schmitz - 29.06.23, 22:27:59 CEST: […] On 29/06/23 16:59, Christian Zigotzky wrote: Hello, The access to partitions on disks with an Amiga partition table (via the Rigid Disk Block RDB) doesn't

Re: [PATCH] cpufreq: pmac32: Use of_property_read_reg() to parse "reg"

2023-06-30 Thread Rob Herring
On Fri, Jun 9, 2023 at 12:31 PM Rob Herring wrote: > > Use the recently added of_property_read_reg() helper to get the > untranslated "reg" address value. > > Signed-off-by: Rob Herring > --- > drivers/cpufreq/pmac32-cpufreq.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Ping!

Re: [PATCH v2 07/12] s390: add pte_free_defer() for pgtables sharing page

2023-06-30 Thread Hugh Dickins
On Fri, 30 Jun 2023, Claudio Imbrenda wrote: > On Fri, 30 Jun 2023 08:28:54 -0700 (PDT) > Hugh Dickins wrote: > > On Fri, 30 Jun 2023, Claudio Imbrenda wrote: > > > On Tue, 20 Jun 2023 00:51:19 -0700 (PDT) > > > Hugh Dickins wrote: > > > > > > [...] > > > > > > > +void pte_free_defer(struct

Re: [PATCH v4 29/33] x86/mm: try VMA lock-based page fault handling first

2023-06-30 Thread Suren Baghdasaryan
On Fri, Jun 30, 2023 at 1:43 AM Jiri Slaby wrote: > > On 30. 06. 23, 10:28, Jiri Slaby wrote: > > > 2348 > > clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, > > child_tid=0x7fcaa5882990,

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.5-1 tag

2023-06-30 Thread pr-tracker-bot
The pull request you sent on Fri, 30 Jun 2023 20:45:58 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.5-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d8b0bd57c2d68eb500f356f0f9228e6183da94ae Thank you! --

[powerpc:topic/cpu-smt] BUILD SUCCESS 0d882f835c76e5b4e1c7a22443ce85e096cf2be8

2023-06-30 Thread kernel test robot
configs have been built successfully. More configs may be tested in the coming days. tested configs: alphaallyesconfig gcc alpha defconfig gcc alpharandconfig-r024-20230630 gcc arc

Re: [PATCH v2 07/12] s390: add pte_free_defer() for pgtables sharing page

2023-06-30 Thread Claudio Imbrenda
On Fri, 30 Jun 2023 08:28:54 -0700 (PDT) Hugh Dickins wrote: > On Fri, 30 Jun 2023, Claudio Imbrenda wrote: > > On Tue, 20 Jun 2023 00:51:19 -0700 (PDT) > > Hugh Dickins wrote: > > > > [...] > > > > > +void pte_free_defer(struct mm_struct *mm, pgtable_t pgtable) > > > +{ > > > + unsigned

Re: [PATCH v2 07/12] s390: add pte_free_defer() for pgtables sharing page

2023-06-30 Thread Hugh Dickins
On Fri, 30 Jun 2023, Claudio Imbrenda wrote: > On Tue, 20 Jun 2023 00:51:19 -0700 (PDT) > Hugh Dickins wrote: > > [...] > > > +void pte_free_defer(struct mm_struct *mm, pgtable_t pgtable) > > +{ > > + unsigned int bit, mask; > > + struct page *page; > > + > > + page =

Re: [PATCH v3 8/9] powerpc: Add HOTPLUG_SMT support

2023-06-30 Thread Laurent Dufour
Hi Michael, Le 29/06/2023 à 16:31, Laurent Dufour a écrit : From: Michael Ellerman Add support for HOTPLUG_SMT, which enables the generic sysfs SMT support files in /sys/devices/system/cpu/smt, as well as the "nosmt" boot parameter. Implement the recently added hooks to allow partial SMT

Re: [PATCH v3 0/9] Introduce SMT level and add PowerPC support

2023-06-30 Thread Laurent Dufour
Le 30/06/2023 à 15:32, Sachin Sant a écrit : On 29-Jun-2023, at 8:01 PM, Laurent Dufour wrote: I'm taking over the series Michael sent previously [1] which is smartly reviewing the initial series I sent [2]. This series is addressing the comments sent by Thomas and me on the Michael's

Re: [PATCH v2 07/12] s390: add pte_free_defer() for pgtables sharing page

2023-06-30 Thread Claudio Imbrenda
On Tue, 20 Jun 2023 00:51:19 -0700 (PDT) Hugh Dickins wrote: [...] > @@ -407,6 +429,77 @@ void __tlb_remove_table(void *_table) > __free_page(page); > } > > +#ifdef CONFIG_TRANSPARENT_HUGEPAGE > +static void pte_free_now0(struct rcu_head *head); > +static void pte_free_now1(struct

Re: [PATCH v3 0/9] Introduce SMT level and add PowerPC support

2023-06-30 Thread Sachin Sant
> On 29-Jun-2023, at 8:01 PM, Laurent Dufour wrote: > > I'm taking over the series Michael sent previously [1] which is smartly > reviewing the initial series I sent [2]. This series is addressing the > comments sent by Thomas and me on the Michael's one. > > Here is a short introduction to

Re: [PATCH v3 12/13] s390/kexec: refactor for kernel/Kconfig.kexec

2023-06-30 Thread Alexander Gordeev
On Mon, Jun 26, 2023 at 12:13:31PM -0400, Eric DeVolder wrote: > The kexec and crash kernel options are provided in the common > kernel/Kconfig.kexec. Utilize the common options and provide > the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the > equivalent set of KEXEC and CRASH options.

Re: [PATCH 07/12] arch/x86: Declare edid_info in

2023-06-30 Thread Arnd Bergmann
On Fri, Jun 30, 2023, at 09:46, Thomas Zimmermann wrote: > Am 29.06.23 um 15:21 schrieb Arnd Bergmann: >> On Thu, Jun 29, 2023, at 15:01, Thomas Zimmermann wrote: >>> Am 29.06.23 um 14:35 schrieb Arnd Bergmann: On Thu, Jun 29, 2023, at 13:45, Thomas Zimmermann wrote: > >>> >>> FIRMWARE_EDID

Re: [PATCH 4/6] ASoC: fsl_asrc: Add memory to memory driver

2023-06-30 Thread Mark Brown
On Fri, Jun 30, 2023 at 11:37:29AM +0800, Shengjiu Wang wrote: > On Thu, Jun 29, 2023 at 7:39 PM Mark Brown wrote: > > On Thu, Jun 29, 2023 at 09:37:51AM +0800, Shengjiu Wang wrote: > > > Implement the ASRC memory to memory function using > > > the v4l2 framework, user can use this function with

[GIT PULL] Please pull powerpc/linux.git powerpc-6.5-1 tag

2023-06-30 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull powerpc updates for 6.5. No conflicts that I'm aware of. Notable out of area changes: kernel/kcsan/core.c # 353e7300a1db kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures

Re: [PATCH 1/6] media: v4l2: Add audio capture and output support

2023-06-30 Thread Sakari Ailus
Hi Shengjiu, On Thu, Jun 29, 2023 at 09:37:48AM +0800, Shengjiu Wang wrote: > Audio signal processing has the requirement for memory to > memory similar as Video. > > This patch is to add this support in v4l2 framework, defined > new buffer type V4L2_BUF_TYPE_AUDIO_CAPTURE and >

Re: [FSL P50x0] [PASEMI] The Access to partitions on disks with an Amiga partition table doesn't work anymore after the block updates 2023-06-23

2023-06-30 Thread Martin Steigerwald
Hi Michael, hi Christian. Michael Schmitz - 29.06.23, 22:27:59 CEST: […] > On 29/06/23 16:59, Christian Zigotzky wrote: > > Hello, > > > > The access to partitions on disks with an Amiga partition table > > (via the Rigid Disk Block RDB) doesn't work anymore on my Cyrus+ > > board with a FSL

Re: [PATCH] syscalls: Cleanup references to sys_lookup_dcookie()

2023-06-30 Thread Namhyung Kim
Hello, On Wed, Jun 28, 2023 at 4:44 PM Randy Dunlap wrote: > > > > On 6/28/23 16:09, Sohil Mehta wrote: > > commit 'be65de6b03aa ("fs: Remove dcookies support")' removed the > > syscall definition for lookup_dcookie. However, syscall tables still > > point to the old sys_lookup_dcookie()

Re: [PATCH 4/6] ASoC: fsl_asrc: Add memory to memory driver

2023-06-30 Thread Shengjiu Wang
On Thu, Jun 29, 2023 at 7:39 PM Mark Brown wrote: > On Thu, Jun 29, 2023 at 09:37:51AM +0800, Shengjiu Wang wrote: > > Implement the ASRC memory to memory function using > > the v4l2 framework, user can use this function with > > v4l2 ioctl interface. > > > > User send the output and capture

Re: [PATCH 3/6] ASoC: fsl_easrc: define functions for memory to memory usage

2023-06-30 Thread Shengjiu Wang
On Thu, Jun 29, 2023 at 7:00 PM Fabio Estevam wrote: > Hi Shengjiu, > > On Wed, Jun 28, 2023 at 11:10 PM Shengjiu Wang > wrote: > > > > ASRC can be used on memory to memory case, define several > > functions for m2m usage and export them as function pointer. > > > > Signed-off-by: Shengjiu Wang

Re: [PATCH] powerpc: Include asm/nmi.c in mobility.c for watchdog_hardlockup_set_timeout_pct()

2023-06-30 Thread Petr Mladek
On Thu 2023-06-29 12:45:06, Douglas Anderson wrote: > The powerpc/platforms/pseries/mobility.c calls > watchdog_hardlockup_set_timeout_pct(), which is declared in > . We used to automatically get included, but > that changed as of commit 7ca8fe94aa92 ("watchdog/hardlockup: define >

Re: [PATCH v4 29/33] x86/mm: try VMA lock-based page fault handling first

2023-06-30 Thread Jiri Slaby
On 30. 06. 23, 10:28, Jiri Slaby wrote: > 2348 clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fcaa5882990, parent_tid=0x7fcaa5882990, exit_signal=0, stack=0x7fcaa5082000,

Re: [PATCH v4 29/33] x86/mm: try VMA lock-based page fault handling first

2023-06-30 Thread Jiri Slaby
On 30. 06. 23, 8:35, Jiri Slaby wrote: On 29. 06. 23, 17:30, Suren Baghdasaryan wrote: On Thu, Jun 29, 2023 at 7:40 AM Jiri Slaby wrote: Hi, On 27. 02. 23, 18:36, Suren Baghdasaryan wrote: Attempt VMA lock-based page fault handling first, and fall back to the existing mmap_lock-based

Re: [PATCH 07/12] arch/x86: Declare edid_info in

2023-06-30 Thread Thomas Zimmermann
Hi Am 29.06.23 um 15:21 schrieb Arnd Bergmann: On Thu, Jun 29, 2023, at 15:01, Thomas Zimmermann wrote: Am 29.06.23 um 14:35 schrieb Arnd Bergmann: On Thu, Jun 29, 2023, at 13:45, Thomas Zimmermann wrote: The global variable edid_info contains the firmware's EDID information as an extension

Re: [PATCH v4 29/33] x86/mm: try VMA lock-based page fault handling first

2023-06-30 Thread Jiri Slaby
On 29. 06. 23, 17:30, Suren Baghdasaryan wrote: On Thu, Jun 29, 2023 at 7:40 AM Jiri Slaby wrote: Hi, On 27. 02. 23, 18:36, Suren Baghdasaryan wrote: Attempt VMA lock-based page fault handling first, and fall back to the existing mmap_lock-based handling if that fails. Signed-off-by: Suren

Re: [PATCH] arch/powerpc: Remove unnecessary endian conversion code in XICS

2023-06-30 Thread Gautam Menghani
On Fri, Jun 30, 2023 at 11:43:26AM +0530, Gautam Menghani wrote: > Remove an unnecessary piece of code that does an endianness conversion but > does not use the result. The following warning was reported by Clang's > static analyzer: > > arch/powerpc/sysdev/xics/ics-opal.c:114:2: warning: Value

[PATCH] arch/powerpc: Remove unnecessary endian conversion code in XICS

2023-06-30 Thread Gautam Menghani
Remove an unnecessary piece of code that does an endianness conversion but does not use the result. The following warning was reported by Clang's static analyzer: arch/powerpc/sysdev/xics/ics-opal.c:114:2: warning: Value stored to 'server' is never read [deadcode.DeadStores] server =

[PATCH v2 1/2] mm: remove arguments of show_mem()

2023-06-30 Thread Kefeng Wang
All callers of show_mem() pass 0 and NULL, so we can remove the two arguments by directly calling __show_mem(0, NULL, MAX_NR_ZONES - 1) in show_mem(). Signed-off-by: Kefeng Wang --- v2: update commit log arch/powerpc/xmon/xmon.c | 2 +- drivers/tty/sysrq.c | 2 +-

[PATCH v2 2/2] mm: make show_free_areas() static

2023-06-30 Thread Kefeng Wang
All callers of show_free_areas() pass 0 and NULL, so we can directly use show_mem() instead of show_free_areas(0, NULL), which could make show_free_areas() a static function. Signed-off-by: Kefeng Wang --- v2: update commit log and fix a missing show_free_areas() conversion

Re: [PATCH v2 07/12] s390: add pte_free_defer() for pgtables sharing page

2023-06-30 Thread Hugh Dickins
On Thu, 29 Jun 2023, Gerald Schaefer wrote: > On Thu, 29 Jun 2023 12:22:24 -0300 > Jason Gunthorpe wrote: > > On Wed, Jun 28, 2023 at 10:08:08PM -0700, Hugh Dickins wrote: > > > On Wed, 28 Jun 2023, Gerald Schaefer wrote: > > > > > > > > As discussed in the other thread, we would rather go