Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2878521pxu; Sat, 19 Dec 2020 05:06:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1NFfdXUJwcA+dV7ZzMKftkaOujbOZvNzM/W9MChMNNghKOGm0pWcHgut+n5C9Mn0WFWG6 X-Received: by 2002:aa7:c0d6:: with SMTP id j22mr8742488edp.31.1608383210051; Sat, 19 Dec 2020 05:06:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608383210; cv=none; d=google.com; s=arc-20160816; b=vZ4IlGkpaNU9QrPBtvW7NvEaLDQ8wWCzDAJ8woAr+gJnaoliwCbfFEUvP4IBbfTG/3 7lajr4nX95TsrtLGyte5EIEFo/GwIbpCzSU38rx2Ie0iZHcA7NKmj6ekCZT2zRTAh8BV 05IY2q7a1HFiTuzqLeWNQozm3rod0Ii51yRYDdC+lJLbuIPcuBNyHR9dn9JHp7jzCobQ A4WMaWCM6p66EC1sLLu3pDyeUFtU1lNPlaKBUjcYlx1q2AsCCs8tO+fx/07Y6h8Alq0d qWoifM1y6F4+58oPHLFqEyxhfuegwu3AKGziNbm9K14QgJpK+PFTQN0Nol1f7LjM/Y8N jSzA== 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=L48UCYsevzU5SYZnFRBD+Coxg7rjS3ccqCjxuERTTIQ=; b=KtLGM31ndeTYlqrnnxl+fo+R4l4oa2oX3YGyHWHutkvyJcrOwdOtBXjW4Pm8SUdWSW trx8eOfCikHiBzvdB8SDwEjmCmy6L6OminnGlomdmc24b+B2CCPB7f4JGYEc0tvNpWM8 Kyv24UrC36f7l+LNp4s6jSdlhmwNyr2YJLy++9UaMVZPl8XGvwTrJQvyxTdIu67jv1pl IaEwnm/Xy0Jlx97ac0MNzpbbeSEeWEIvmwnaznwmTfE7p1t2yqg+gVPUY1hr9xUJvlY0 pyLBdq9tkceXZUwu1SaHKsJ2DWI9UugxRSm10IXXOti30wztJQP43HSfACXrIfbBcOZG rxbg== 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 jo25si6222206ejb.575.2020.12.19.05.06.27; Sat, 19 Dec 2020 05:06:50 -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 S1728299AbgLSNFF (ORCPT + 99 others); Sat, 19 Dec 2020 08:05:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:52354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728846AbgLSNEZ (ORCPT ); Sat, 19 Dec 2020 08:04:25 -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.4 27/34] USB: sisusbvga: Make console support depend on BROKEN Date: Sat, 19 Dec 2020 14:03:24 +0100 Message-Id: <20201219125342.729151258@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201219125341.384025953@linuxfoundation.org> References: <20201219125341.384025953@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