Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp404004pxb; Wed, 1 Sep 2021 01:16:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp+0fBrYXqB/XmaGNNwEWXX8ykO+RGhtfWrpqRnaxGCtz+9kzkwpSTZVtyQ8CWp/FBvpXP X-Received: by 2002:a02:2a88:: with SMTP id w130mr6736790jaw.60.1630484219675; Wed, 01 Sep 2021 01:16:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630484219; cv=none; d=google.com; s=arc-20160816; b=SZgyB/dZ0SezJZePiXfT2sJ1rPc+Yw4SEUl3kYveqEJdC/DPjlzq2orseswCUWuZE5 cjBjKvgq/VhSw1OluMkJLg2zP2ReFY2G+uYU3YeJhVYHBzufqB3Rz55FXFtXG5Ym6fI3 hs6MkMBtFu9sdBjfB5JHuhErSXvXSJXdYtPTLqUp+Y/1I4VxpmeZdeNFDCkLgRmCJ10J lOT1OLAxWlKSJoFA5cVgFQfX3hcdUXlQqZgHyoQ4kwFS/mgAPspCrq3MeO+SUThSdDjA D17SziNiFJOptssz3YonNgnAfFhm2O07f/eb1rnGO/c3F470RpBG5TsaKGny4YAabugL EShw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=AJPPL16hdYI51fg+Cj+kDw2ybc9mLYB8sUoYGURqM9Y=; b=dR8FF1wYECDVH40DuE/MRkj9k3sxL1pFGmKGCXdZs3+dC5IVo8+0iUA/BcHicUAy+1 mn3Nz4WAKGlD3xXKfGefs/hl1m/2XFE8/6wZW1oOD6mxtQAmeekkm5yDjLJeqcUBC5IM fh7JIynnIcvtBwrWOFTA3LB6gswTJKYfcsWUpKmlUAM6H+MN9v+J9HK12W+BDJRtExNX V+SQ29s/tFLN1ErN+e3oBIxoLcEiKD+gQ4Pvzw6MIwcScjqdDxM26E2t4T5ReKjn77H9 6H82ptRoxjq9GlFtdk1bSUnA+lcXZfT+Q0imRojwO2Fnp/2aPHbYlQjcwdAAkgbWfl+3 9Ytg== 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k1si20261131ilo.14.2021.09.01.01.16.47; Wed, 01 Sep 2021 01:16:59 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243127AbhIAIQO (ORCPT + 99 others); Wed, 1 Sep 2021 04:16:14 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:14446 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243098AbhIAIQL (ORCPT ); Wed, 1 Sep 2021 04:16:11 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4GzxbB0PPNzbgJT; Wed, 1 Sep 2021 16:11:18 +0800 (CST) Received: from dggpemm500002.china.huawei.com (7.185.36.229) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 1 Sep 2021 16:15:12 +0800 Received: from [10.174.178.247] (10.174.178.247) by dggpemm500002.china.huawei.com (7.185.36.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 1 Sep 2021 16:15:12 +0800 Subject: Re: [PATCH] ACPI / PPTT: get PPTT table in the first beginning To: Zenghui Yu , Sudeep Holla CC: Xiongfeng Wang , , , , , , , References: <20210720112635.38565-1-wangxiongfeng2@huawei.com> <20210720133751.u6k6bdm7qco3gn65@bogus> From: Hanjun Guo Message-ID: <30c0b347-54fa-4113-d533-74b101b90f46@huawei.com> Date: Wed, 1 Sep 2021 16:15:11 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.247] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500002.china.huawei.com (7.185.36.229) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/9/1 15:29, Zenghui Yu wrote: > On 2021/7/20 21:37, Sudeep Holla wrote: >> On Tue, Jul 20, 2021 at 07:26:35PM +0800, Xiongfeng Wang wrote: >>> When I added might_sleep() in down_timeout(), I got the following >> >> Sorry it is not clear if you are able to reproduce this issue without >> any other modifications in the mainline kernel ? > > Jump in this thread as the exact splat is triggered at boot time > in the latest mainline kernel thanks to commit 99409b935c9a > ("locking/semaphore: Add might_sleep() to down_*() family"). Please see the patch provided by Thomas Gleixner, it should fix this issue in a better way: https://lkml.org/lkml/2021/8/31/352 Thanks Hanjun