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: <CAHp75VcoYDw95rpa1QE1qBrpbxJ-o3OwzVLkYSS4uE6DCVDwwQ@mail.gmail.com>
Date: Wed, 25 Jun 2025 07:33:29 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: micas-opensource <zjianan156@...il.com>
Cc: andy@...nel.org, gregkh@...uxfoundation.org, jirislaby@...nel.org, 
	linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org, 
	Philo Shao <philo@...asnetworks.com>
Subject: Re: tty/8250: Deactivate the HSUART DMA for the DNV CPU

On Wed, Jun 25, 2025 at 6:14 AM micas-opensource <zjianan156@...il.com> wrote:
>
> From: Philo Shao <philo@...asnetworks.com>
>
> Intel DNV CPU reports an error, indicating that there is a possibility of abnormal serial port functionality and the CPU may hang.
> The HSUART DMA will be deactivated for the DNV CPU.

Please, wrap lines around ~72 characters.

Nevertheless, we want to know a bit more, i.e. what kind of CPU
errors, how the symptoms look like. Also have you checked if there is
an official errata for this case? If so, please, mention the document
number, errata title and proposed / recommended solution.

...

> -       ret = mid->board->setup(mid, &uart.port);
> -       if (ret)
> -               return ret;
> -
> -       ret = mid8250_dma_setup(mid, &uart);
> -       if (ret)
> -               goto err;
> +       if (id->device != PCI_DEVICE_ID_INTEL_DNV_UART) {

Wouldn't it be just enough to skip DMA setup in the
mid8250_dma_setup() for this ID?

> +               ret = mid->board->setup(mid, &uart.port);
> +               if (ret)
> +                       return ret;
> +
> +               ret = mid8250_dma_setup(mid, &uart);
> +               if (ret)
> +                       goto err;
> +       } else {
> +               uart.port.handle_irq = dnv_handle_irq;
> +       }


-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ