lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fe93c4ae-4ac4-02e2-ce4a-03ead76e65e6@microchip.com>
Date:   Thu, 30 Sep 2021 10:16:12 +0000
From:   <Claudiu.Beznea@...rochip.com>
To:     <alexandre.belloni@...tlin.com>
CC:     <Nicolas.Ferre@...rochip.com>, <Ludovic.Desroches@...rochip.com>,
        <linux@...linux.org.uk>, <robh+dt@...nel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>
Subject: Re: [PATCH 2/3] ARM: at91: pm: group constants and addresses loading

On 28.09.2021 13:01, Alexandre Belloni wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Hello,
> 
> On 28/09/2021 11:42:56+0300, Claudiu Beznea wrote:
>> Group constants and addresses loading. This commit prepares the field for
>> the next one. Added fixes tag on this commit as the next one will fail
>> to apply if backported alone to older kernels.
> 
> The proper notation is to use Depends-on: on the next patch.

At the moment this patch has no sha1 associated so I will ask Nicolas to
add the Depends-on when he will take it. Do you see other options?

> 
>>
>> Fixes: f0bbf17958e8 ("ARM: at91: pm: add self-refresh support for sama7g5")
>> Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
>> ---
>>  arch/arm/mach-at91/pm_suspend.S | 17 +++++++++--------
>>  1 file changed, 9 insertions(+), 8 deletions(-)
>>
>> diff --git a/arch/arm/mach-at91/pm_suspend.S b/arch/arm/mach-at91/pm_suspend.S
>> index cbd61a3bcab1..34f251fdb743 100644
>> --- a/arch/arm/mach-at91/pm_suspend.S
>> +++ b/arch/arm/mach-at91/pm_suspend.S
>> @@ -1014,6 +1014,15 @@ ENTRY(at91_pm_suspend_in_sram)
>>       mov     tmp1, #0
>>       mcr     p15, 0, tmp1, c7, c10, 4
>>
>> +     ldr     tmp1, [r0, #PM_DATA_PMC_MCKR_OFFSET]
>> +     str     tmp1, .mckr_offset
>> +     ldr     tmp1, [r0, #PM_DATA_PMC_VERSION]
>> +     str     tmp1, .pmc_version
>> +     ldr     tmp1, [r0, #PM_DATA_MEMCTRL]
>> +     str     tmp1, .memtype
>> +     ldr     tmp1, [r0, #PM_DATA_MODE]
>> +     str     tmp1, .pm_mode
>> +
>>       ldr     tmp1, [r0, #PM_DATA_PMC]
>>       str     tmp1, .pmc_base
>>       ldr     tmp1, [r0, #PM_DATA_RAMC0]
>> @@ -1022,14 +1031,6 @@ ENTRY(at91_pm_suspend_in_sram)
>>       str     tmp1, .sramc1_base
>>       ldr     tmp1, [r0, #PM_DATA_RAMC_PHY]
>>       str     tmp1, .sramc_phy_base
>> -     ldr     tmp1, [r0, #PM_DATA_MEMCTRL]
>> -     str     tmp1, .memtype
>> -     ldr     tmp1, [r0, #PM_DATA_MODE]
>> -     str     tmp1, .pm_mode
>> -     ldr     tmp1, [r0, #PM_DATA_PMC_MCKR_OFFSET]
>> -     str     tmp1, .mckr_offset
>> -     ldr     tmp1, [r0, #PM_DATA_PMC_VERSION]
>> -     str     tmp1, .pmc_version
>>       /* Both ldrne below are here to preload their address in the TLB */
>>       ldr     tmp1, [r0, #PM_DATA_SHDWC]
>>       str     tmp1, .shdwc
>> --
>> 2.25.1
>>
> 
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ