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]
Date:   Tue, 14 Nov 2023 10:49:02 +0100
From:   Jiri Slaby <jirislaby@...nel.org>
To:     Manikanta Guntupalli <manikanta.guntupalli@....com>, git@....com,
        michal.simek@....com, jacmet@...site.dk,
        gregkh@...uxfoundation.org, linux-serial@...r.kernel.org,
        linux-kernel@...r.kernel.org, corbet@....net,
        christophe.leroy@...roup.eu, rdunlap@...radead.org,
        airlied@...hat.com, ogabbay@...nel.org, linux-doc@...r.kernel.org
Cc:     radhey.shyam.pandey@....com, srinivas.goud@....com,
        shubhrajyoti.datta@....com, manion05gk@...il.com
Subject: Re: [PATCH V2 1/2] Documentation: devices.txt: Update ttyUL major
 number allocation details

On 14. 11. 23, 10:33, Manikanta Guntupalli wrote:
> Describe when uartlite driver uses static/dynamic allocation for major
> number based on maximum number of uartlite serial ports.
> 
> Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@....com>
> ---
> Changes for V2:
> This patch introduced in V2.
> ---
>   Documentation/admin-guide/devices.txt | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/admin-guide/devices.txt b/Documentation/admin-guide/devices.txt
> index 839054923530..d2f2c9f436db 100644
> --- a/Documentation/admin-guide/devices.txt
> +++ b/Documentation/admin-guide/devices.txt
> @@ -2707,6 +2707,10 @@
>   		 187 = /dev/ttyUL0		Xilinx uartlite - port 0
>   		    ...
>   		 190 = /dev/ttyUL3		Xilinx uartlite - port 3
> +
> +		 If maximum number of uartlite serial ports more than 4, then driver uses
> +		 dynamic allocation instead of static allocation for major number.

I am not sure about the placement of this comment. This looks like it 
holds for xvc below.

>   		 191 = /dev/xvc0		Xen virtual console - port 0
>   		 192 = /dev/ttyPZ0		pmac_zilog - port 0
>   		    ...

-- 
js
suse labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ