Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2877221pxu; Sat, 19 Dec 2020 05:05:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLo13Tl2eaWqSEKpFQaDgfDA1reXUkqTkt+D+1Y9/9amWMwhW5uod8hkpW8r5LcizwiPJT X-Received: by 2002:a17:906:b309:: with SMTP id n9mr8273923ejz.365.1608383101975; Sat, 19 Dec 2020 05:05:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608383101; cv=none; d=google.com; s=arc-20160816; b=ulBSBu+zdvXXo5TDPtvCVTf+dgZjso9mWzXZlg/Sk/jhYokEqKBikqSnBbcxIF/6tI VdM/FG/pc2nFABOUpKS4d2UUdp+D/spqeOMLCcPNPLrYjtEx7kzg+CWxH1dvd0xWYAc3 slOSqTv5iiFJD9+tL1jlX2vmreyxGsH4OaYgIbSzKeh9NAlBHdIbbC0hFETwnqhZLVOE q9TWQ+aKRjAgBqczlJ+qRa2qq81HNTPvQv68+zHI7usXfpWQsp+RA6LyVV+mbR8oM5KW xMqbWtg32IGRdyy1NdKcUh1TucDmkplP1wHeGsW8d2HiLlEBgnogQVpKxnMFik6RNcad R8JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=8+/QiFd3TeD42HayR+/ZusMfwKBKE2qrak678lYtqyk=; b=gmlY1x7nBTiJIQS5/odGTojaEcBwKqfNQQc6HraLKxOgNmnriU2+4Vpd58zEGR48N0 niBrgaI7gchELJJbWPfNLKl/QGbEvnS/3LrbhXnFi/iC8u03X+Z9jvBjpFWOOaGWg8W7 i9oMgHZDEnZ9GUh3Kkdmt6IaEBIpBNNvp6Ftu17an70iBQqZUZ5idZk8GXVHS3nGA3Mu OSgcnpL+uica3nKReOZUGUKQ4hrnXqNdPjOSWu/20lbETW6PVfg408Dp1E8WQf1JgM9Y 4YQn1Y3JkFnzWFt/HM4ep86tIOKt/tWUo759SL+ah15DlTDf0gzlDHGzIXYiAPagJYl0 Ippw== 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si8849400edi.191.2020.12.19.05.04.39; Sat, 19 Dec 2020 05:05:01 -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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726516AbgLSNCQ (ORCPT + 99 others); Sat, 19 Dec 2020 08:02:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:45496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727986AbgLSM7G (ORCPT ); Sat, 19 Dec 2020 07:59:06 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Gleixner , Thomas Winischhofer , linux-usb@vger.kernel.org Subject: [PATCH 5.9 43/49] USB: sisusbvga: Make console support depend on BROKEN Date: Sat, 19 Dec 2020 13:58:47 +0100 Message-Id: <20201219125346.774463378@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201219125344.671832095@linuxfoundation.org> References: <20201219125344.671832095@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Gleixner commit 862ee699fefe1e6d6f2c1518395f0b999b8beb15 upstream. The console part of sisusbvga is broken vs. printk(). It uses in_atomic() to detect contexts in which it cannot sleep despite the big fat comment in preempt.h which says: Do not use in_atomic() in driver code. in_atomic() does not work on kernels with CONFIG_PREEMPT_COUNT=n which means that spin/rw_lock held regions are not detected by it. There is no way to make this work by handing context information through to the driver and this only can be solved once the core printk infrastructure supports sleepable console drivers. Make it depend on BROKEN for now. Fixes: 1bbb4f2035d9 ("[PATCH] USB: sisusb[vga] update") Signed-off-by: Thomas Gleixner Cc: Thomas Winischhofer Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20201019101109.603244207@linutronix.de Signed-off-by: Greg Kroah-Hartman --- drivers/usb/misc/sisusbvga/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/misc/sisusbvga/Kconfig +++ b/drivers/usb/misc/sisusbvga/Kconfig @@ -16,7 +16,7 @@ config USB_SISUSBVGA config USB_SISUSBVGA_CON bool "Text console and mode switching support" if USB_SISUSBVGA - depends on VT + depends on VT && BROKEN select FONT_8x16 help Say Y here if you want a VGA text console via the USB dongle or