From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00C6CC432BE for ; Wed, 1 Sep 2021 08:49:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D97F360C3E for ; Wed, 1 Sep 2021 08:49:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241500AbhIAIuq (ORCPT ); Wed, 1 Sep 2021 04:50:46 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:19000 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241376AbhIAIup (ORCPT ); Wed, 1 Sep 2021 04:50:45 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4GzyLz59m4zbkyr; Wed, 1 Sep 2021 16:45:47 +0800 (CST) Received: from dggema764-chm.china.huawei.com (10.1.198.206) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 1 Sep 2021 16:49:39 +0800 Received: from [10.174.185.179] (10.174.185.179) by dggema764-chm.china.huawei.com (10.1.198.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Wed, 1 Sep 2021 16:49:38 +0800 Subject: Re: [PATCH] ACPI / PPTT: get PPTT table in the first beginning To: Hanjun Guo CC: Sudeep Holla , Xiongfeng Wang , , , , , , , References: <20210720112635.38565-1-wangxiongfeng2@huawei.com> <20210720133751.u6k6bdm7qco3gn65@bogus> <30c0b347-54fa-4113-d533-74b101b90f46@huawei.com> From: Zenghui Yu Message-ID: <240b1876-5dd4-9d50-5710-9a5c40f308af@huawei.com> Date: Wed, 1 Sep 2021 16:49:37 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <30c0b347-54fa-4113-d533-74b101b90f46@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.185.179] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggema764-chm.china.huawei.com (10.1.198.206) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On 2021/9/1 16:15, Hanjun Guo wrote: > 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 Cool. Thanks for the pointer. Zenghui