Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3701142pxb; Mon, 24 Jan 2022 15:46:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzaBIEQTKIubWxz5Ggp1Se5JKSNUgvPLSYkFMgvkN9S+mWMU4NQcQ9XSoHtABTNZPU/Fr/F X-Received: by 2002:a63:8a4c:: with SMTP id y73mr13357389pgd.303.1643067969852; Mon, 24 Jan 2022 15:46:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643067969; cv=none; d=google.com; s=arc-20160816; b=oQqDVFzYbYhEd0p3G6rQtatz9zFnGU6iKi8pkxRRqjcT5YHd2IXDDnEh/XGRF7qJB2 VH2pXjUpZ3G1jFvAzv+PFqZ68mhRR+xaHvxGqF291Dh3YTg7vDXt1LQcT5SFknk7v8vE NIoz+9lEofPpJlU3XZ5xqOW7fMqGJ/TXGH1YKlawWwhiBrTIbYf32KpCltWH97JsAx9x tEbmPT5sL4XhyDawFdlT0GyN776a+fg+GsIuj1kZeUwj05MYtkN0lmO8v8RnHNQ6fDHS qvzkDpyd8MaX3f4TiSsZEPekSujCdX9dGorV3h44hMd0pkxSe09V6boVhX0PJ2ZBfeQT GSHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=TonNysDZMx9C4Dgz002yU+hZtY7UFn20FRBn7HwXRao=; b=oQaMVnZy87WSU7GwAm8IYsm4optzj96Dg9FVjHa9FklLwxP1Uj6vjrIpYSJBRbbtFq Yd/nMUbdabhYHrV3fGhu9nViEZRXmCJ5ZjIe6DZ2Szw/0nJWgr5pHz4IjFoHJ6tQpR3L If94Z5EAf/NdBhcLAnykBG5/HTHbpzAd1ENZShXF+CP5NhjSP23AMrGk9aG9osr3zWGK q++YkHNDEX32oecFhILcSu0v6uaGuYV6D0kyEIKJBh5vj0EosXz7VZlif8nadOiNAYFX wxgiswAdQ5v3/9At0yc5awJnVWfbcqxTTH6bSHvPDscK+dnydshVANCDCUBvSyFlOvg0 3EMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si4653384pfi.333.2022.01.24.15.45.57; Mon, 24 Jan 2022 15:46:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1844338AbiAXXig (ORCPT + 99 others); Mon, 24 Jan 2022 18:38:36 -0500 Received: from mail-lf1-f54.google.com ([209.85.167.54]:44659 "EHLO mail-lf1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1842011AbiAXXAi (ORCPT ); Mon, 24 Jan 2022 18:00:38 -0500 Received: by mail-lf1-f54.google.com with SMTP id u14so22099497lfo.11; Mon, 24 Jan 2022 15:00:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TonNysDZMx9C4Dgz002yU+hZtY7UFn20FRBn7HwXRao=; b=zJeZXL4lEtXd51yhNP4Dt8NLrpOgKtwtkuVhFgMcSeY3lJUm/fx6E5JHiyV0IGv5Bh 6JZ1PiIh06FdTyZ1LD8xsguOBmpG7eVO+VNBWGPR0wQZ7/8nvrulNgKd9EH6NypN016B k49qrM7qWUsvn4fDiGduiMdmg4ED37TNTErJljOjdwxsi6DVhhigpDHLe0xhrNvLFzzU s+8YHebAxzDyw0RuRGz3dTeX5bg+6ETw0sDXXU6kJyhbIzaQkIUvSClOhzitqa+x/hI0 tlcvnpY38RPzZQviZy8rDWekcfQ96DuF2BM/bf6yfxon95iGdlxCuKSskC5qKoZmmYr5 H9Kw== X-Gm-Message-State: AOAM533JDGhIvNv7AG2xKTnwbPGy/uUEqAp9TolZi7e3ELRz44tjdTdu eIoEyGsmCFTQ4zTqAIvXec8BBHH1+XwCJIDgRoX7g+kjEf3wfQ== X-Received: by 2002:a05:6512:6c1:: with SMTP id u1mr14221835lff.9.1643065235474; Mon, 24 Jan 2022 15:00:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Len Brown Date: Mon, 24 Jan 2022 18:00:24 -0500 Message-ID: Subject: Re: [Bug][5.17-rc0] Between commits daadb3bd0e8d and 455e73a07f6e, the kernel stops loading on my devices. To: John Stultz Cc: Heikki Krogerus , Mikhail Gavrilov , Linux List Kernel Mailing , rafael.j.wysocki@intel.com, linux-usb@vger.kernel.org, YongQin Liu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tested-by: Len Brown The typec_link_ports crash goes away w/ the 2nd patch. https://bugzilla.kernel.org/show_bug.cgi?id=215529 On Fri, Jan 21, 2022 at 4:33 PM John Stultz wrote: > > On Thu, Jan 20, 2022 at 3:27 AM Heikki Krogerus > wrote: > > On Tue, Jan 18, 2022 at 03:12:10PM +0200, Heikki Krogerus wrote: > > > I can reproduce this one by simply not creating the component list in > > > the code. That function - component_master_add_with_match() - can't > > > handle situation where the list is empty. I'll prepare the fix. > > > > I'm again attaching the proposed fix, just to see if it also gets > > corrupted. Can you test does it fix this issue? > > You need to apply it on top of the previous one. > > We've been hitting the null pointer crash from > component_master_add_with_match() regression as well on the hikey960 > board. > > The patch you attached resolves the issue. It would be great to see it > merged upstream soon! > > Tested-by: John Stultz > > thanks > -john -- Len Brown, Intel Open Source Technology Center