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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3DF70CD37B0 for ; Mon, 18 Sep 2023 17:11:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231296AbjIRRLi (ORCPT ); Mon, 18 Sep 2023 13:11:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbjIRRLh (ORCPT ); Mon, 18 Sep 2023 13:11:37 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D66E391 for ; Mon, 18 Sep 2023 10:11:29 -0700 (PDT) Received: from kwepemm600014.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Rq5L21XPjzNngd; Mon, 18 Sep 2023 21:31:38 +0800 (CST) Received: from [10.67.110.164] (10.67.110.164) by kwepemm600014.china.huawei.com (7.193.23.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Mon, 18 Sep 2023 21:35:23 +0800 Subject: BUG: sleeping function called from invalid context in console_lock References: <42c2c0c4-9ee2-6426-8c3c-2585e0345fcb@huawei.com> To: Greg Kroah-Hartman , Jiri Slaby , , CC: linux-serial From: "yiyang (D)" X-Forwarded-Message-Id: <42c2c0c4-9ee2-6426-8c3c-2585e0345fcb@huawei.com> Message-ID: Date: Mon, 18 Sep 2023 21:35:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <42c2c0c4-9ee2-6426-8c3c-2585e0345fcb@huawei.com> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.110.164] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600014.china.huawei.com (7.193.23.54) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org In recent years, this problem has been reported in syzkaller all the time. Link: https://syzkaller.appspot.com/bug?extid=dbac96d8e73b61aa559c Historically, the developers have tried to fix this problem by use mutex instead spinlock, but it didn't solve the problem.. Link: https://lore.kernel.org/all/20220826193545.20363-1-pchelkin@ispras.ru/ Other developers have recently reported this problem, but no one has continued to try to fix it. Link: https://lore.kernel.org/all/20230420082153.6711-1-daniel.starke@siemens.com/ Anyway, do we have any ideas for solving this problem? -- yiyang .