Re: [PATCH] powerpc: Fix data corruption on IPI

2023-11-16 Thread Timothy Pearson
- Original Message - > From: "Timothy Pearson" > To: "Michael Ellerman" , "npiggin" > Cc: "linuxppc-dev" > Sent: Friday, November 17, 2023 1:39:37 AM > Subject: Re: [PATCH] powerpc: Fix data corruption on IPI > - Original Message - >> From: "Michael Ellerman" >> To:

Re: [PATCH] powerpc: Fix data corruption on IPI

2023-11-16 Thread Timothy Pearson
- Original Message - > From: "Michael Ellerman" > To: "Timothy Pearson" , "linuxppc-dev" > > Cc: "Jens Axboe" > Sent: Tuesday, November 14, 2023 6:14:37 AM > Subject: Re: [PATCH] powerpc: Fix data corruption on IPI > Hi Timothy, > > Thanks for debugging this, but I'm unclear why

Re: [PATCH v5 1/3] powerpc: make fadump resilient with memory add/remove events

2023-11-16 Thread Hari Bathini
On 17/11/23 11:01 am, Aneesh Kumar K V wrote: On 11/17/23 10:03 AM, Sourabh Jain wrote: Hi Aneesh, Thanks for reviewing the patch. On 15/11/23 10:14, Aneesh Kumar K.V wrote: Sourabh Jain  writes: diff --git a/arch/powerpc/include/asm/fadump-internal.h

Re: [PATCH 2/2] powerpc/hv-gpxi: Fix access permission of hv-gpci interface files

2023-11-16 Thread kajoljain
On 11/17/23 04:06, Michael Ellerman wrote: > Kajol Jain writes: >> Fix access permission of the hv-gpci topology information >> interface files from 0444 to 0400 (admin read only). > > Please explain why they should be 0400. > > Also typo in subject, "hv-gpxi". Hi Michael, Thanks for

Re: [PATCH v5 1/3] powerpc: make fadump resilient with memory add/remove events

2023-11-16 Thread Aneesh Kumar K V
On 11/17/23 10:03 AM, Sourabh Jain wrote: > Hi Aneesh, > > Thanks for reviewing the patch. > > On 15/11/23 10:14, Aneesh Kumar K.V wrote: >> Sourabh Jain  writes: >> >> >> >>> diff --git a/arch/powerpc/include/asm/fadump-internal.h >>> b/arch/powerpc/include/asm/fadump-internal.h >>> index

Re: [PATCH v5 1/3] powerpc: make fadump resilient with memory add/remove events

2023-11-16 Thread Sourabh Jain
Hi Aneesh, Thanks for reviewing the patch. On 15/11/23 10:14, Aneesh Kumar K.V wrote: Sourabh Jain writes: diff --git a/arch/powerpc/include/asm/fadump-internal.h b/arch/powerpc/include/asm/fadump-internal.h index 27f9e11eda28..7be3d8894520 100644 ---

Re: [PATCH 4/7] kexec_file, arm64: print out debugging message if required

2023-11-16 Thread Baoquan He
ct: [PATCH 4/7] kexec_file, arm64: print out debugging message if > required > config: arm64-randconfig-001-20231115 > (https://download.01.org/0day-ci/archive/20231116/202311160022.qm6xjysy-...@intel.com/config) > compiler: aarch64-linux-gcc (GCC) 13.2.0 > reproduce (this

Re: [PATCH] powerpc: Restrict ARCH_HIBERNATION_POSSIBLE to supported configurations

2023-11-16 Thread Michael Ellerman
Vishal Chourasia writes: > On 15/11/23 5:46 pm, Aneesh Kumar K V wrote: >> On 11/15/23 5:23 PM, Vishal Chourasia wrote: >>> On 15/11/23 1:39 pm, Aneesh Kumar K.V wrote: Vishal Chourasia writes: > This patch modifies the ARCH_HIBERNATION_POSSIBLE option to ensure that it >

Re: [PATCH 2/2] powerpc/hv-gpxi: Fix access permission of hv-gpci interface files

2023-11-16 Thread Michael Ellerman
Kajol Jain writes: > Fix access permission of the hv-gpci topology information > interface files from 0444 to 0400 (admin read only). Please explain why they should be 0400. Also typo in subject, "hv-gpxi". cheers > Fixes: 71f1c39647d8 ("powerpc/hv_gpci: Add sysfs file inside hv_gpci device

Re: [PATCH 32/34] KVM: selftests: Add basic selftest for guest_memfd()

2023-11-16 Thread Ackerley Tng
Paolo Bonzini writes: > > > +static void test_create_guest_memfd_invalid(struct kvm_vm *vm) > +{ > + size_t page_size = getpagesize(); > + uint64_t flag; > + size_t size; > + int fd; > + > + for (size = 1; size < page_size; size++) { > + fd =

Re: [PATCH 2/3] modpost: Extended modversion support

2023-11-16 Thread Luis Chamberlain
On Wed, Nov 15, 2023 at 06:50:10PM +, Matthew Maurer wrote: > Adds a new format for modversions which stores each field in a separate > elf section. The "why" is critical and not mentioned. And I'd like to also see documented this with foresight, if Rust needed could this be used in the

Re: linux-next: Tree for Nov 16 (arch/powerpc/platforms/86xx/pic.o)

2023-11-16 Thread Randy Dunlap
On 11/15/23 18:17, Stephen Rothwell wrote: > Hi all, > > Changes since 20231115: > on ppc32 (using gcc 13.2.0 from kernel.org): CONFIG_PPC_86xx=y # CONFIG_GEF_PPC9A is not set # CONFIG_GEF_SBC310 is not set # CONFIG_GEF_SBC610 is not set # CONFIG_MVME7100 is not set (CONFIG_MPIC is not

Re: [PATCH 7/8] of: replace command line handling

2023-11-16 Thread Daniel Walker (danielwa)
On Thu, Nov 16, 2023 at 10:09:36AM -0600, Rob Herring wrote: > On Thu, Nov 09, 2023 at 05:38:11PM -0800, Daniel Walker wrote: > > Rob Herring has complained about this section of code. I removed the > > command line handling code to the cmdline.h header. This hopefully makes > > it easier for Rob

Re: [PATCH 7/8] of: replace command line handling

2023-11-16 Thread Rob Herring
On Thu, Nov 09, 2023 at 05:38:11PM -0800, Daniel Walker wrote: > Rob Herring has complained about this section of code. I removed the > command line handling code to the cmdline.h header. This hopefully makes > it easier for Rob to maintain it (at least he doesn't have to look at it > directly

Re: Fbdev issue after the drm updates 'drm-next-2023-10-31-1'

2023-11-16 Thread Geert Uytterhoeven
Hi Gerd, On Wed, Nov 15, 2023 at 10:22 AM Gerd Hoffmann wrote: > On Wed, Nov 15, 2023 at 09:33:28AM +0100, Geert Uytterhoeven wrote: > > On Tue, Nov 14, 2023 at 10:45 AM Christian Zigotzky > > wrote: > > > On 13 November 2023 at 01:48 pm, Geert Uytterhoeven wrote: > > > > I can confirm there is

[PATCH 2/2] powerpc/hv-gpxi: Fix access permission of hv-gpci interface files

2023-11-16 Thread Kajol Jain
Fix access permission of the hv-gpci topology information interface files from 0444 to 0400 (admin read only). Fixes: 71f1c39647d8 ("powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show processor bus topology information") Reported-by: Disha Goel Signed-off-by: Kajol Jain ---

[PATCH 1/2] powerpc/hv-gpci: Add return value check in affinity_domain_via_partition_show function

2023-11-16 Thread Kajol Jain
To access hv-gpci kernel interface files data, the "Enable Performance Information Collection" option has to be set in hmc. Incase that option is not set and user try to read the interface files, it should give error message as operation not permitted. Result of accessing added interface files

Re: [PATCH v9 14/15] media: imx-asrc: Add memory to memory driver

2023-11-16 Thread Krzysztof Kozlowski
On 16/11/2023 09:32, Shengjiu Wang wrote: >>> +MODULE_DESCRIPTION("Freescale ASRC M2M driver"); >>> +MODULE_ALIAS("platform:" M2M_DRV_NAME); >> >> You should not need MODULE_ALIAS() in normal cases. If you need it, >> usually it means your device ID table is wrong (e.g. misses either >> entries

Re: [PATCH 19/32] fbdev/ps3fb: Initialize fb_ops with fbdev macros

2023-11-16 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Initialize the instance of struct fb_ops with fbdev initializer > macros for framebuffers in virtual address space. Set the read/write, > draw and mmap callbacks to the correct implementation and avoid > implicit defaults. Also select the necessary helpers in Kconfig.

Re: [PATCH 18/32] fbdev/ps3fb: Set FBINFO_VIRTFB flag

2023-11-16 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > The ps3fb driver operates on system memory. Mark the framebuffer > accordingly. Helpers operating on the framebuffer memory will test > for the presence of this flag. > > Signed-off-by: Thomas Zimmermann > Cc: Michael Ellerman > Cc: Nicholas Piggin > Cc: Christophe

Re: [PATCH v9 10/15] media: uapi: Add V4L2_CTRL_TYPE_FIXED_POINT

2023-11-16 Thread Shengjiu Wang
On Thu, Nov 16, 2023 at 4:01 PM Hans Verkuil wrote: > > Shengjiu, > > FYI: I started work on adding the fraction_bits field. I hope to have a > patch for that early next week. > Thanks. I will wait for your patch to be ready. best regards wang shengjiu > Regards, > > Hans > > On

Re: [PATCH] powerpc: Restrict ARCH_HIBERNATION_POSSIBLE to supported configurations

2023-11-16 Thread Vishal Chourasia
On 15/11/23 5:46 pm, Aneesh Kumar K V wrote: > On 11/15/23 5:23 PM, Vishal Chourasia wrote: >> On 15/11/23 1:39 pm, Aneesh Kumar K.V wrote: >>> Vishal Chourasia writes: >>> This patch modifies the ARCH_HIBERNATION_POSSIBLE option to ensure that it correctly depends on these PowerPC

Re: [PATCH v9 14/15] media: imx-asrc: Add memory to memory driver

2023-11-16 Thread Shengjiu Wang
On Sat, Nov 11, 2023 at 4:16 PM Krzysztof Kozlowski wrote: > > On 10/11/2023 06:48, Shengjiu Wang wrote: > > +static int asrc_m2m_probe(struct platform_device *pdev) > > +{ > > + struct fsl_asrc_m2m_pdata *data = pdev->dev.platform_data; > > + struct device *dev = >dev; > > + struct

Re: [PATCH v9 10/15] media: uapi: Add V4L2_CTRL_TYPE_FIXED_POINT

2023-11-16 Thread Hans Verkuil
Shengjiu, FYI: I started work on adding the fraction_bits field. I hope to have a patch for that early next week. Regards, Hans On 16/11/2023 08:31, Tomasz Figa wrote: > On Wed, Nov 15, 2023 at 8:49 PM Laurent Pinchart > wrote: >> >> Hi Hans, >> >> On Wed, Nov 15, 2023 at 12:19:31PM