Re: [PATCH] arm: mach-snapdragon: pinctrl: Place pin_name in .data section

2021-07-15 Thread Jorge Ramirez-Ortiz, Gmail
On 15/07/21, Jorge Ramirez-Ortiz, Gmail wrote: > On 06/07/21, Ramon Fried wrote: > > On Mon, Jul 5, 2021 at 3:19 PM Stephan Gerhold wrote: > > > > > > According to arch/arm/lib/crt0_64.S, the BSS section is "UNAVAILABLE" > > > and uninitialized before relocation. Also, it overlaps with the > > >

Re: [PATCH] arm: mach-snapdragon: pinctrl: Place pin_name in .data section

2021-07-15 Thread Jorge Ramirez-Ortiz, Gmail
On 06/07/21, Ramon Fried wrote: > On Mon, Jul 5, 2021 at 3:19 PM Stephan Gerhold wrote: > > > > According to arch/arm/lib/crt0_64.S, the BSS section is "UNAVAILABLE" > > and uninitialized before relocation. Also, it overlaps with the > > appended DTB before relocation, so writing data into a

Re: [PATCH] arm: mach-snapdragon: pinctrl: Place pin_name in .data section

2021-07-14 Thread Tom Rini
On Mon, Jul 05, 2021 at 02:18:47PM +0200, Stephan Gerhold wrote: > According to arch/arm/lib/crt0_64.S, the BSS section is "UNAVAILABLE" > and uninitialized before relocation. Also, it overlaps with the > appended DTB before relocation, so writing data into a variable > in the BSS section might

Re: [PATCH] arm: mach-snapdragon: pinctrl: Place pin_name in .data section

2021-07-05 Thread Ramon Fried
On Mon, Jul 5, 2021 at 3:19 PM Stephan Gerhold wrote: > > According to arch/arm/lib/crt0_64.S, the BSS section is "UNAVAILABLE" > and uninitialized before relocation. Also, it overlaps with the > appended DTB before relocation, so writing data into a variable > in the BSS section might corrupt

[PATCH] arm: mach-snapdragon: pinctrl: Place pin_name in .data section

2021-07-05 Thread Stephan Gerhold
According to arch/arm/lib/crt0_64.S, the BSS section is "UNAVAILABLE" and uninitialized before relocation. Also, it overlaps with the appended DTB before relocation, so writing data into a variable in the BSS section might corrupt the appended DTB. Unfortunately, pinctrl-apq8016.c and