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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3a73625c-63d7-4ed4-98a3-84d7d26e8484@htecgroup.com>
Date: Wed, 14 May 2025 15:02:50 +0000
From: Aleksa Paunovic <aleksa.paunovic@...cgroup.com>
To: "krzk@...nel.org" <krzk@...nel.org>
CC: Aleksa Paunovic <aleksa.paunovic@...cgroup.com>, "aou@...s.berkeley.edu"
	<aou@...s.berkeley.edu>, "arikalo@...il.com" <arikalo@...il.com>,
	"conor@...nel.org" <conor@...nel.org>, "daniel.lezcano@...aro.org"
	<daniel.lezcano@...aro.org>, "devicetree@...r.kernel.org"
	<devicetree@...r.kernel.org>, Djordje Todorovic
	<Djordje.Todorovic@...cgroup.com>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "linux-riscv@...ts.infradead.org"
	<linux-riscv@...ts.infradead.org>, "palmer@...belt.com" <palmer@...belt.com>,
	"paul.walmsley@...ive.com" <paul.walmsley@...ive.com>, "tglx@...utronix.de"
	<tglx@...utronix.de>
Subject: Re: [PATCH v3 1/2] dt-bindings: timer: mti,gcru

On 24. 4. 25. 08:24, Krzysztof Kozlowski wrote:
> [You don't often get email from krzk@...nel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> On 23/04/2025 14:14, Aleksa Paunovic wrote:
>> HTEC Public
> 
> Fix your email systems or use b4 relay.
> 
> 
> <form letter>
> Please use scripts/get_maintainers.pl to get a list of necessary people
> and lists to CC (and consider --no-git-fallback argument, so you will
> not CC people just because they made one commit years ago). It might
> happen, that command when run on an older kernel, gives you outdated
> entries. Therefore please be sure you base your patches on recent Linux
> kernel.
> 
> Tools like b4 or scripts/get_maintainer.pl provide you proper list of
> people, so fix your workflow. Tools might also fail if you work on some
> ancient tree (don't, instead use mainline) or work on fork of kernel
> (don't, instead use mainline). Just use b4 and everything should be
> fine, although remember about `b4 prep --auto-to-cc` if you added new
> patches to the patchset.
> </form letter>
>  
Thank you for the tips. Will be using b4 relay in the future, starting with v4 linked at [1].

[1]
https://lore.kernel.org/linux-riscv/20250514-riscv-time-mmio-v4-0-cb0cf2922d66@htecgroup.com/

Best regards,
Aleksa Paunovic
>>
>> Add dt-bindings for the GCR.U memory mapped timer device for RISC-V
>> platforms. The GCR.U memory region contains shadow copies of the RISC-V
>> mtime register and the hrtime Global Configuration Register.
>>
>> Signed-off-by: Aleksa Paunovic <aleksa.paunovic@...cgroup.com>
>> ---
>>  .../devicetree/bindings/timer/mti,gcru.yaml   | 47 +++++++++++++++++++
>>  1 file changed, 47 insertions(+)
>>  create mode 100644 Documentation/devicetree/bindings/timer/mti,gcru.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/timer/mti,gcru.yaml b/Documentation/devicetree/bindings/timer/mti,gcru.yaml
>> new file mode 100644
>> index 000000000000..6555dbab402e
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/timer/mti,gcru.yaml
>> @@ -0,0 +1,47 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/timer/mti,gcru.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: GCR.U timer device for RISC-V platforms
>> +
>> +maintainers:
>> +  - Aleksa Paunovic <aleksa.paunovic@...cgroup.com>
>> +
>> +description:
>> +  The GCR.U memory region contains memory mapped shadow copies of
>> +  mtime and hrtime Global Configuration Registers,
>> +  which software can choose to make accessible from user mode.
>> +
>> +select:
>> +  properties:
>> +    compatible:
>> +      contains:
>> +        const: mti,gcru
>> +
>> +  required:
>> +    - compatible
> 
> Drop select, why do you need it?
> 
>> +
>> +properties:
>> +  compatible:
>> +    const: mti,gcru
>> +
>> +  reg:
>> +    items:
>> +      - description: Read-only shadow copy of the RISC-V mtime register.
>> +      - description: Read-only shadow copy of the high resolution timer register.
>> +
>> +required:
>> +  - compatible
>> +  - reg
>> +
>> +additionalProperties: false
>> +
>> +examples:
>> +  - |
>> +    gcru: timer@...7F000 {
> 
> Lower-case hex in DTS, always. See DTS coding style.
> 
> Best regards,
> Krzysztof

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ