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: <CABXGCsO5PYBuZ11YR16NLLa0H07Jom1JQhWHFuETfotfBfzkMw@mail.gmail.com>
Date:   Mon, 17 Jan 2022 15:46:44 +0500
From:   Mikhail Gavrilov <mikhail.v.gavrilov@...il.com>
To:     Heikki Krogerus <heikki.krogerus@...ux.intel.com>
Cc:     Linux List Kernel Mailing <linux-kernel@...r.kernel.org>,
        rafael.j.wysocki@...el.com, linux-usb@...r.kernel.org
Subject: Re: [Bug][5.17-rc0] Between commits daadb3bd0e8d and 455e73a07f6e,
 the kernel stops loading on my devices.

On Mon, 17 Jan 2022 at 13:58, Heikki Krogerus
<heikki.krogerus@...ux.intel.com> wrote:
>
> Hi Mikhail,
>
> Thank you for bisecting the problem.
>
> The code assumes currently that every USB Type-C port has an ACPI
> device node defined for it in the ACPI tables, but it looks like we
> can't make that assumption. Could you send me the acpidump?
>
> I'm attaching a test patch where I check the Type-C port ACPI nodes.
> Let me know it that fixes the problem.
>

Hi Heikki,
Unfonitaly I can't test patch because it applicable to actual code base.

$ cat 0001-usb-typec-Test-fix.patch | git apply -v
Checking patch drivers/usb/typec/port-mapper.c...
error: while searching for:
{?
    struct each_port_arg arg = { .port = con, .match = NULL };?
?
    bus_for_each_dev(&acpi_bus_type, NULL, &arg, typec_port_match);?
?
    /*?

error: patch failed: drivers/usb/typec/port-mapper.c:56
error: drivers/usb/typec/port-mapper.c: patch does not apply

I attached acpidump files from my workstation and laptop.

-- 
Best Regards,
Mike Gavrilov.

View attachment "acpidump-workstation.txt" of type "text/plain" (872917 bytes)

View attachment "acpidump-laptop.txt" of type "text/plain" (1062817 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ