Re: [Bisected] PowerMac G4 getting "BUG: Unable to handle kernel data access on write at 0x00001ff0" at boot with CONFIG_VMAP_STACK=y on kernels 6.5.x (regression over 6.4.x)

2023-09-25 Thread Bagas Sanjaya
On Tue, Sep 26, 2023 at 01:01:59AM +0200, Erhard Furtner wrote: > Greetings! > > Had a chat on #gentoo-powerpc with another user whose G4 Mini fails booting > kernel 6.5.0 when CONFIG_VMAP_STACK=y is enabled. I was able to replicate the > issue on my PowerMac G4. Also I was able to bisect the is

Re: [Bisected] PowerMac G5 fails booting kernel 6.6-rc3 (BUG: Unable to handle kernel data access at 0xfeffbb62ffec65fe)

2023-10-05 Thread Bagas Sanjaya
On Fri, Sep 29, 2023 at 01:27:50PM +0200, Erhard Furtner wrote: > Greetings! > > Kernel 6.5.5 boots fine on my PowerMac G5 11,2 but kernel 6.6-rc3 fails to > boot with following dmesg shown on the OpenFirmware console (transcribed > screenshot): > > [...] > SLUB: HWalign=128, Order=0-3, MinObje

Re: [Bisected] PowerMac G5 fails booting kernel 6.6-rc3 (BUG: Unable to handle kernel data access at 0xfeffbb62ffec65fe)

2023-10-05 Thread Bagas Sanjaya
On 06/10/2023 08:19, Matthew Wilcox wrote: > On Fri, Oct 06, 2023 at 08:11:12AM +0700, Bagas Sanjaya wrote: >> Matthew Wilcox, did you miss this regression report? You should look into it >> since it is (apparently) cause by a commit of yours. > > No, I didn't miss i

Fwd: The PCIe AER error flood between PCIe bridge and Realtek's RTL8723BE makes system hang

2023-11-10 Thread Bagas Sanjaya
Hi, I notice a bug report on Bugzilla [1]. Quoting from it: > We have an ASUS X555UQ laptop equipped with Intel i7-6500U CPU and Realtek > RTL8723BE PCIe Wireless adapter. > > We tested it with kernel 6.6. System keeps showing AER error message flood, > even hangs up, until rtl8723be's ASPM i

Fwd: Memory corruption in multithreaded user space program while calling fork

2023-07-02 Thread Bagas Sanjaya
Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > After upgrading to kernel version 6.4.0 from 6.3.9, I noticed frequent but > random crashes in a user space program. After a lot of reduction, I have > come up with the following reproducer program: > > $ uname -a > Linux ja

Re: Memory corruption in multithreaded user space program while calling fork

2023-07-02 Thread Bagas Sanjaya
On 7/2/23 19:40, Jacob Young wrote: >> Jacob: Can you repeat bisection please? Why did you skip VMA lock-based > page fault commits in your bisection? > > All skips were due to compile errors of the form: > make[3]: 'install_headers' is up to date. > In file included from ./include/linux/memcontro

Re: linux-next: Tree for Jul 13 (drivers/video/fbdev/ps3fb.c)

2023-07-17 Thread Bagas Sanjaya
On Thu, Jul 13, 2023 at 09:11:10AM -0700, Randy Dunlap wrote: > > > On 7/12/23 19:37, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20230712: > > > > on ppc64: > > In file included from ../include/linux/device.h:15, > from ../arch/powerpc/include/asm/io.h:22, >

Re: linux-next: Tree for Jul 13 (drivers/video/fbdev/ps3fb.c)

2023-07-19 Thread Bagas Sanjaya
On 7/18/23 17:06, Thorsten Leemhuis wrote: > I'm missing something here: > > * What makes you think this is caused by bdb616479eff419? I didn't see > anything in the thread that claims this, but I might be missing something > * related: if I understand Randy right, this is only happening in -next;

Re: [PATCH] floppy: ERROR: that open brace { should be on the previous line

2023-08-06 Thread Bagas Sanjaya
On Fri, Aug 04, 2023 at 04:05:09PM +, Christophe Leroy wrote: > Hello, > > Le 20/07/2023 à 12:17, zhangyongle...@208suo.com a écrit : > > [Vous ne recevez pas souvent de courriers de zhangyongle...@208suo.com. > > D?couvrez pourquoi ceci est important ? > > https://aka.ms/LearnAboutSenderIde

Re: [PATCH] KVM: PPC: BOOK3S: book3s_hv_nested.c: improve branch prediction for k.alloc

2023-04-07 Thread Bagas Sanjaya
On Fri, Apr 07, 2023 at 05:31:47AM -0400, Kautuk Consul wrote: > I used the unlikely() macro on the return values of the k.alloc > calls and found that it changes the code generation a bit. > Optimize all return paths of k.alloc calls by improving > branch prediction on return value of k.alloc. Wh

Re: [PASEMI NEMO] Boot issue with the PowerPC updates 6.4-1

2023-05-08 Thread Bagas Sanjaya
On Mon, May 08, 2023 at 01:29:22PM +0200, Linux regression tracking #adding (Thorsten Leemhuis) wrote: > [CCing the regression list, as it should be in the loop for regressions: > https://docs.kernel.org/admin-guide/reporting-regressions.html] > > [TLDR: I'm adding this report to the list of trac

Re: [PASEMI NEMO] Boot issue with the PowerPC updates 6.4-1

2023-05-08 Thread Bagas Sanjaya
On 5/8/23 20:17, Linux regression tracking (Thorsten Leemhuis) wrote: >> Why and how can you conclude that the culprit is e4ab08be5b4902 >> ("powerpc/isa-bridge: >> Remove open coded "ranges" parsing") rather than powerpc PR merge commit >> 70cc1b5307e8ee ("Merge tag 'powerpc-6.4-1' of >> git://gi

Fwd: Linux 6.3.1 + AMD RX 570 on ppc64le 4K: Kernel attempted to read user page (1128) - exploit attempt? (uid: 0)

2023-05-11 Thread Bagas Sanjaya
Hi, I notice a regression report on bugzilla ([1]). As many developers don't keep an eye on it, I decide to forward it by email. Quoting from it: > darkbasic 2023-05-10 13:36:37 UTC > > I'm using Gentoo Linux on a Raptor CS Talos 2 ppc64le, GPU is an AMD RX 570. > So far the past dozen of ker

Re: Fwd: Linux 6.3.1 + AMD RX 570 on ppc64le 4K: Kernel attempted to read user page (1128) - exploit attempt? (uid: 0)

2023-05-12 Thread Bagas Sanjaya
On 5/11/23 15:06, Bagas Sanjaya wrote: > Hi, > > I notice a regression report on bugzilla ([1]). As many developers > don't keep an eye on it, I decide to forward it by email. > > Quoting from it: > >> darkbasic 2023-05-10 13:36:37 UTC >> >> I

Fwd: ./include/linux/mmzone.h:1735:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE (v6.4-rc3 build regression)

2023-05-24 Thread Bagas Sanjaya
Hi, I notice a powerpc[64?] build regression on Bugzilla [1]. Quoting from it: > CC arch/powerpc/kernel/asm-offsets.s > In file included from ./include/linux/gfp.h:7, > from ./include/linux/xarray.h:15, > from ./include/linux/list_lru.h:14, >

Re: Fwd: ./include/linux/mmzone.h:1735:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE (v6.4-rc3 build regression)

2023-05-24 Thread Bagas Sanjaya
On 5/24/23 17:58, Bagas Sanjaya wrote: > Anyway, I'm adding it to regzbot: > > #regzbot introduced: 23baf831a32c04f > https://bugzilla.kernel.org/show_bug.cgi?id=217477 > #regzbot title: Allocator MAX_ORDER exceeds SECTION_SIZE caused by MAX_ORDER > redefinition >

Re: Fwd: ./include/linux/mmzone.h:1735:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE (v6.4-rc3 build regression)

2023-05-24 Thread Bagas Sanjaya
On 5/24/23 20:11, Doru Iorgulescu wrote: > Glad to hear it!  > Thank you tl;dr: > A: http://en.wikipedia.org/wiki/Top_post > Q: Were do I find info about this thing called top-posting? > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing

Re: Fwd: ./include/linux/mmzone.h:1735:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE (v6.4-rc3 build regression)

2023-05-24 Thread Bagas Sanjaya
On Thu, May 25, 2023 at 01:03:22AM +1000, Michael Ellerman wrote: > Should be fixed properly by: > > https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20230519113806.370635-1-...@ellerman.id.au/ > > Which is in powerpc-fixes as 358e526a1648. Telling regzbot: #regzbot fix: 358e526a1648cd

Re: Fwd: ./include/linux/mmzone.h:1735:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE (v6.4-rc3 build regression)

2023-05-29 Thread Bagas Sanjaya
On Wed, May 24, 2023 at 06:13:52PM +0300, Doru Iorgulescu wrote: > Awesome, thanks! tl;dr: see [1]. (Hey, looks like complimenting noise here.) [1]: https://lore.kernel.org/regressions/5df92692-296e-3956-24fa-2bd439337...@gmail.com/ -- An old man doll... just what I always wanted! - Clara s

Re: [PATCH v3 4/5] treewide: use get_random_bytes when possible

2022-10-07 Thread Bagas Sanjaya
On 10/6/22 23:53, Jason A. Donenfeld wrote: > The prandom_bytes() function has been a deprecated inline wrapper around > get_random_bytes() for several releases now, and compiles down to the > exact same code. Replace the deprecated wrapper with a direct call to > the real function. > > Reviewed-b

Re: [PATCH v7 0/8] phy: Add support for Lynx 10G SerDes

2022-10-19 Thread Bagas Sanjaya
On 10/19/22 06:11, Sean Anderson wrote: > This adds support for the Lynx 10G SerDes found on the QorIQ T-series > and Layerscape series. Due to limited time and hardware, only support > for the LS1046ARDB is added in this initial series. There is a sketch > for LS1088ARDB support, but it is incompl

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-10-29 Thread Bagas Sanjaya
On Thu, Oct 27, 2022 at 03:11:08PM -0400, Sean Anderson wrote: > .. only:: subproject and html > diff --git a/Documentation/driver-api/phy/lynx_10g.rst > b/Documentation/driver-api/phy/lynx_10g.rst > new file mode 100644 > index ..ebbf4dd86726 > --- /dev/null > +++ b/Documentation/dr

Re: linux-next tree panic on ppc64le

2023-02-21 Thread Bagas Sanjaya
On 2/22/23 07:55, Murphy Zhou wrote: > Hi, > > [ 59.558339] [ cut here ] > [ 59.558361] kernel BUG at arch/powerpc/kernel/syscall.c:34! > [ 59.558373] Oops: Exception in kernel mode, sig: 5 [#1] > [ 59.558384] LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA PowerNV

Re: linux-next tree panic on ppc64le

2023-02-22 Thread Bagas Sanjaya
On 2/22/23 16:13, Murphy Zhou wrote: > next-20230221 > > I'll try powerpc/next. > OK, but next time when you reply, don't top-post; reply inline with appropriate context instead. -- An old man doll... just what I always wanted! - Clara

Re: [PATCH v8 6/6] docs: trusted-encrypted: add DCP as new trust source

2024-04-03 Thread Bagas Sanjaya
stored in the key blob. > + * > + * Whenever a new trusted key using DCP is generated, we generate a random > 128-bit > + * blob encryption key (BEK) and 128-bit nonce. The BEK and nonce are used to > + * encrypt the trusted key payload using AES-128-GCM. > + * > + * The BEK itself i

[PATCH] KVM: powerpc: remove extraneous asterisk from rm_host_ipi_action comment

2022-04-26 Thread Bagas Sanjaya
el Ellerman Cc: Benjamin Herrenschmidt Cc: Nicholas Piggin Cc: Fabiano Rosas Cc: Paolo Bonzini Cc: Alexey Kardashevskiy Cc: linuxppc-dev@lists.ozlabs.org Cc: k...@vger.kernel.org Cc: sta...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Bagas Sanjaya --- arch/powerpc/kvm/book

Re: [PATCH] KVM: powerpc: remove extraneous asterisk from rm_host_ipi_action comment

2022-04-26 Thread Bagas Sanjaya
On 4/26/22 14:47, Bagas Sanjaya wrote: > Link: https://lore.kernel.org/linux-doc/202204252334.cd2isiii-...@intel.com/ > Reported-by: kernel test robot > Cc: Suresh Warrier > Cc: Paul Mackerras > Cc: Anders Roxell > Cc: Greg Kroah-Hartman > Cc: Arnd Bergmann > Cc:

ppc64_defconfig Werror: no previous prototype on arch/powerpc/kernel/ftrace.c

2022-04-26 Thread Bagas Sanjaya
code in question is introduced by commit 7132e2d669bd42 ("ftrace: Match dot symbols when searching functions on ppc64"). Reported-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara

[PATCH RESEND] KVM: powerpc: remove extraneous asterisk from rm_host_ipi_action comment

2022-05-06 Thread Bagas Sanjaya
ozlabs.org Cc: k...@vger.kernel.org Cc: sta...@vger.kernel.org # v5.15, v5.17 Cc: linux-ker...@vger.kernel.org Signed-off-by: Bagas Sanjaya --- arch/powerpc/kvm/book3s_hv_rm_xics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s_hv_rm_xics.c b

dangling pointer to '__str' error on ppc64_defconfig, GCC 12.1.0

2022-05-26 Thread Bagas Sanjaya
k(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) | ^ ./include/linux/printk.h:489:9: note: in expansion of macro 'printk' 489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~ arch/powerpc/kernel/trace/ftrace.c:506:17: note: in expansion of macro 'pr_err' 506 | pr_err("Unexpected call sequence at %p: %s %s\n", | ^~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:288: arch/powerpc/kernel/trace/ftrace.o] Error 1 I also hit this error on current master (commit babf0bb978e3c9 ("Merge tag 'xfs-5.19-for-linus' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux")). Thanks. Reported-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara

outside array bounds error on ppc64_defconfig, GCC 12.1.0

2022-05-31 Thread Bagas Sanjaya
Hi, I'm trying to verify Drop ppc_inst_as_str() patch on [1] by performing ppc64_defconfig build with powerpc64-unknown-linux-gnu-gcc (GCC 12.1.0). The patch is applied on top of powerpc tree, next branch. I got outside array bounds error: CC arch/powerpc/kernel/dbell.o In function 'do_by

Re: [PATCH] powerpc/64: Drop ppc_inst_as_str()

2022-05-31 Thread Bagas Sanjaya
ugh for debug output, > especially as prefixed instructions will be rare in practice. > > Old: > c070 6042 ori r2,r2,0 > c074 0411 e580fb00 .long 0xe580fb000411 > > New: > c010f90c 6042 ori r2,r2,0 >

Re: [PATCH] powerpc/64: Drop ppc_inst_as_str()

2022-05-31 Thread Bagas Sanjaya
On 6/1/22 10:03, Bagas Sanjaya wrote: >> >> Reported-by: Bagas Sanjaya >> Reported-by: Petr Mladek >> Signed-off-by: Michael Ellerman > > The arch/powerpc/kernel/trace/ftrace.c builds successfully, however > there is also other build error for which I

Re: [PATCH 5.15 00/28] 5.15.52-rc1 review

2022-06-30 Thread Bagas Sanjaya
inux-gnu/bin/ld: warning: cannot find entry symbol nable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang; not setting start address Tested-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara

next-20220715 build fail due to 579b9239c1f386 (powerpc, ps3_defconfig, GCC 12.1.0)

2022-07-16 Thread Bagas Sanjaya
Hi everyone, I built next-20220715 tree, using powerpc64-unknown-linux-gnu-gcc (GCC 12.1.0) and ps3_defconfig. The build errored on W=1 build (-Werror=missing-prototypes): CC arch/powerpc/mm/book3s64/pgtable.o CC arch/powerpc/kernel/process.o arch/powerpc/mm/book3s64/pgtable.c:478:5

Re: next-20220715 build fail due to 579b9239c1f386 (powerpc, ps3_defconfig, GCC 12.1.0)

2022-07-16 Thread Bagas Sanjaya
On 7/17/22 10:27, Bagas Sanjaya wrote: > Hi everyone, > > I built next-20220715 tree, using powerpc64-unknown-linux-gnu-gcc > (GCC 12.1.0) and ps3_defconfig. The build errored on W=1 build > (-Werror=missing-prototypes): > > CC arch/powerpc/mm/book3s64/pgtable.o >

[PATCH 2/3] Documentation: use different label names for each arch's elf_hwcaps.rst

2022-07-27 Thread Bagas Sanjaya
othwell Signed-off-by: Bagas Sanjaya --- Documentation/arm64/elf_hwcaps.rst| 2 +- Documentation/powerpc/elf_hwcaps.rst | 2 +- Documentation/translations/zh_CN/arm64/elf_hwcaps.rst | 2 +- Documentation/translations/zh_TW/arm64/elf_hwcaps.rst | 2 +- 4 f

[PATCH 0/3] Documentation: powerpc: documentation fixes for Documentation/powerpc/elf_hwcaps.rst

2022-07-27 Thread Bagas Sanjaya
After merging powerpc tree for linux-next integration testing, Stephen Rothwell reported htmldocs warnings at [1]. Fix these with self-explanatory fixes in the shortlog below. [1]: https://lore.kernel.org/linuxppc-dev/20220727220050.549db...@canb.auug.org.au/ Bagas Sanjaya (3): Documentation

[PATCH 3/3] Documentation: powerpc: add elf_hwcaps to table of contents

2022-07-27 Thread Bagas Sanjaya
c-dev/20220727220050.549db...@canb.auug.org.au/ Fixes: 3df1ff42e69e91 ("powerpc: add documentation for HWCAPs") Reported-by: Stephen Rothwell Signed-off-by: Bagas Sanjaya --- Documentation/powerpc/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/powerpc/index.rst

[PATCH 1/3] Documentation: powerpc: fix indentation warnings

2022-07-27 Thread Bagas Sanjaya
-dev/20220727220050.549db...@canb.auug.org.au/ Fixes: 3df1ff42e69e91 ("powerpc: add documentation for HWCAPs") Reported-by: Stephen Rothwell Signed-off-by: Bagas Sanjaya --- Documentation/powerpc/elf_hwcaps.rst | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) di

Re: [PATCH 0/9] Extend automarkup support for ABI symbols

2025-02-12 Thread Bagas Sanjaya
On Tue, Feb 11, 2025 at 07:22:54AM +0100, Mauro Carvalho Chehab wrote: > Now that ABI creates a python dictionary, use automarkup to create cross > references for ABI symbols as well. I get three new warnings: WARNING: /sys/devices/system/cpu/cpuX/topology/physical_package_id is defined 2 times

Re: [PATCH v3 1/6] powerpc: Document APIv2 KVM hcall spec for Hostwide counters

2025-01-24 Thread Bagas Sanjaya
||| Space due to overcommit | > +++---+++--+ > +| 0x0805-| ||| Reserved | > | 0x0BFF | ||| | > ++---+++--+ > | 0x0C00 | 0x10 | RW | T|Run vCPU Input Buffer:| The doc LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH] cxl: Fix cross-reference in documentation and add deprecation warning

2025-02-18 Thread Bagas Sanjaya
6eb4f809 ("docs: > media: Allow creating cross-references for RC ABI") was merged. > > Fix the cross-reference, and also add a deprecation warning. Acked-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature