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>] [day] [month] [year] [list]
Date: Tue, 2 Apr 2024 14:38:48 +0300 (EEST)
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Feng Chunguo <chunguo.feng@...idrive.com>
cc: Greg KH <gregkh@...uxfoundation.org>, 
    "fengchunguo@....com" <fengchunguo@....com>, 
    Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, 
    Jiri Slaby <jirislaby@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] tty: serial: fixed uart irq maybe cause irq storm

On Mon, 1 Apr 2024, Feng Chunguo wrote:

> Hi Greg KH,
> 
> Sent this path again.
> 
>  the irq should not be turned off here, what happens if some data comes in while this
> function is running?  Will it be lost?
> --> lost,not receive other irq.
> 
>  When the uart was switching the baud rate from one to other,  this issue can be
> reproduced.


>> This feels wrong,
>> the irq should not be turned off here, what happens if some data comes in while this
>> function is running? Will it be lost? thanks, greg k-h

Changing rate always risks losing what's currently on wire due to timing 
related corruption, I don't think there there's a way around that IRQ 
being enabled or not.


-- 
 i.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ