Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9182098pxu; Mon, 28 Dec 2020 08:37:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqE2Ko0zMGF/BvA/ePZrpZB5eY5vGq9+Za3rPzZ7zHhB4rqMq6QQHUbyYtGYlppw/llb90 X-Received: by 2002:a05:6402:404:: with SMTP id q4mr43922604edv.295.1609173449316; Mon, 28 Dec 2020 08:37:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609173449; cv=none; d=google.com; s=arc-20160816; b=vMgNAw/EI7dbqbbWFPfJ6iM5R89wL9NmUv8tc6P8KtvKNX40DXd7rjldOvMWmCs8Hj sY/lxCiBMRLwK/DqBc0PznSDfJ8OPCMhJ6zaF5AN1Vex/CCfvBwxbYy0QYnu717QYqWw xIWnqlbEOs6S4Qh3rz31ENHem7hSIc87eWmD0EvCJAwoBb6S4vvEkT2i8sumx14/QypD RLPxQTB7u7ELUQG4FDqNSxf1E8ihhMR0AUZttB7dkTqnJV7Y4YYsJUJlcvuFkkzsyRxb llqFNbnC26eL2r7+Hps+DDr8suX4Gw9BTo9rGJPvYcm1pL5ycV5JJUaIuJWXQ4KYJ3kA tlDg== 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:dkim-signature; bh=AGCeA4mAjIohZsiOBz43Ik2wRIz21jMljr8Q64MjyYM=; b=Xy3c5gZC5H7mPEzE6fx+5ZIyCoVHoDPNZ89z+CXgFGRqolTWvOooFaiXlMCyppsIMk +Q0UfMxOZX+eBdoO7OvQXKxX03SKUzlwaXHOzFtAk6bZpXUS9A3hEnxEQ1TU+bNUeOS7 BX6ECjnVzDiXAJ8zrdjjxYSNhsL+lUqKOHlw953EWTaVEdl6W/j6ERbbb/bzHAr+XT67 x2tPE8eUOOaLhl4RCS6G1dpPYxbWkwqJ/1oA1prmHC2heFm5UZ4fKeTjZbzCa6qCSF82 euQdyjzl8ePTYsGCYPqdJDKhovLPQyF7kuXYClldgPfXScgmxdNkb0xzkG18s6FzCtPG rxGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fjHlw31e; 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=pass (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 j24si14379820ejx.278.2020.12.28.08.37.06; Mon, 28 Dec 2020 08:37:29 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fjHlw31e; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730153AbgL1NDB (ORCPT + 99 others); Mon, 28 Dec 2020 08:03:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:56742 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729540AbgL1NAv (ORCPT ); Mon, 28 Dec 2020 08:00:51 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 425B4224D2; Mon, 28 Dec 2020 13:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609160435; bh=ZQx4jiJYSqq0ifLV2fS+ihkyAB+CjY19pTM7Afr80S8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fjHlw31e/tRaNrKd5a0CSoxQqeNxbf7Imhrhz59Rt99irrgWRyJpXXwyVUdqaqvN8 fDKLGD+4kIQJ2uT42fBB4V8L0RLckSAE+oiCta/oadBJi6bkDevL18poH7oHeDItUu KGMsG07ryCKT2BOnEwcIaQsS6yO01ijhgrPwAFTs= From: Greg Kroah-Hartman 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 4.9 023/175] USB: sisusbvga: Make console support depend on BROKEN Date: Mon, 28 Dec 2020 13:47:56 +0100 Message-Id: <20201228124854.378474266@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124853.216621466@linuxfoundation.org> References: <20201228124853.216621466@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 @@ -15,7 +15,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