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] [day] [month] [year] [list]
Message-ID:
 <TY3PR01MB113464B6C3187A09376CC576286D0A@TY3PR01MB11346.jpnprd01.prod.outlook.com>
Date: Mon, 24 Nov 2025 15:35:29 +0000
From: Biju Das <biju.das.jz@...renesas.com>
To: geert <geert@...ux-m68k.org>
CC: biju.das.au <biju.das.au@...il.com>, Greg Kroah-Hartman
	<gregkh@...uxfoundation.org>, Jiri Slaby <jirislaby@...nel.org>, Rob Herring
	<robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
	<conor+dt@...nel.org>, magnus.damm <magnus.damm@...il.com>, wsa+renesas
	<wsa+renesas@...g-engineering.com>, Prabhakar Mahadev Lad
	<prabhakar.mahadev-lad.rj@...renesas.com>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "linux-serial@...r.kernel.org"
	<linux-serial@...r.kernel.org>, "devicetree@...r.kernel.org"
	<devicetree@...r.kernel.org>, "linux-renesas-soc@...r.kernel.org"
	<linux-renesas-soc@...r.kernel.org>, Conor Dooley
	<conor.dooley@...rochip.com>
Subject: RE: [PATCH v3 01/13] dt-bindings: serial: renesas,rsci: Document
 RZ/G3E support

Hi Geert,

Thanks for the feedback.

> -----Original Message-----
> From: Geert Uytterhoeven <geert@...ux-m68k.org>
> Sent: 24 November 2025 12:58
> Subject: Re: [PATCH v3 01/13] dt-bindings: serial: renesas,rsci: Document RZ/G3E support
> 
> Hi Biju,
> 
> On Sat, 22 Nov 2025 at 15:15, Biju Das <biju.das.jz@...renesas.com> wrote:
> > > From: Biju Das <biju.das.jz@...renesas.com>
> > > > From: Geert Uytterhoeven <geert@...ux-m68k.org> On Fri, 14 Nov
> > > > 2025 at 11:52, Biju <biju.das.au@...il.com> wrote:
> > > > > Add documentation for the serial communication interface (RSCI)
> > > > > found on the Renesas RZ/G3E (R9A09G047) SoC. The RSCI IP on this
> > > > > SoC is identical to that on the RZ/T2H (R9A09G077) SoC, but it
> > > > > has a 32-stage FIFO compared to 16 on RZ/T2H. It supports both
> > > > > FIFO and non-FIFO mode operation. RZ/G3E has 6 clocks(5 module
> > > > > clocks + 1 external clock) compared to 3 clocks
> > > > > (2 module clocks + 1 external clock) on RZ/T2H, and it has multiple resets.
> > > > >
> > > > > Acked-by: Conor Dooley <conor.dooley@...rochip.com>
> > > > > Signed-off-by: Biju Das <biju.das.jz@...renesas.com>
> 
> > > > > --- a/Documentation/devicetree/bindings/serial/renesas,rsci.yaml
> > > > > +++ b/Documentation/devicetree/bindings/serial/renesas,rsci.yaml
> > > > > @@ -10,17 +10,16 @@ maintainers:
> > > > >    - Geert Uytterhoeven <geert+renesas@...der.be>
> > > > >    - Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
> > > > >
> > > > > -allOf:
> > > > > -  - $ref: serial.yaml#
> > > > > -
> > > > >  properties:
> > > > >    compatible:
> > > > >      oneOf:
> > > > > -      - items:
> > > > > -          - const: renesas,r9a09g087-rsci # RZ/N2H
> > > > > -          - const: renesas,r9a09g077-rsci # RZ/T2H
> > > > > +      - enum:
> > > > > +          - renesas,r9a09g047-rsci # RZ/G3E non FIFO mode
> > > > > +          - renesas,r9a09g047-rscif # RZ/G3E FIFO mode
> > > >
> > > > I can't find the non-FIFO ports in the documentation?
> > > > Do you mean "Selectable to 1-stage register or 32-stage FIFO"?
> > > > Isn't that software configuration instead of hardware description?
> > >
> > > Basically, it has 2 modes. FIFO mode(CCR3.FM=1b) and Non-FIFO mode (CCR3.FM=0b).
> > > DMAC can be used only in FIFO mode and there are some hardware
> > > differences between two as FIFO reg block is applicable only for FIFO mode.
> 
> Still, sounds like software policy / configuration to me...

Ok.

> 
> > > It has to be either a compatible or a boolean property "renesas, rsci-non-fifo"
> > > Or something else
> >
> > I believe it must be a compatible to support non-FIFO mode from boot.
> >
> > I maybe wrong. Please correct me, if it I am wrong.
> 
> Why can't it be configured through e.g. the rx_fifo_trigger device attribute, or some setserial
> option? Any guidance from the serial experts?

I was under the impression like early console, someone may use non-FIFO mode very early during the
boot.

OK, Will drop the compatible for non-FIFO mode.

Cheers,
Biju

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ