Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9176488pxu; Mon, 28 Dec 2020 08:29:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFNgJ5HnxcOL7OocdidEKJXwi/zfqORHqAssLM1JXdKoCEFpiZSZ9YLC7XLmC3n2VK8IG1 X-Received: by 2002:a50:b223:: with SMTP id o32mr43357640edd.79.1609172941334; Mon, 28 Dec 2020 08:29:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609172941; cv=none; d=google.com; s=arc-20160816; b=eLbyJ14DY3f5QJAEey180szPN58ds2C7gCe3UpSM3ZCLdbaAKWeu9NRrXNKjEK0SeF txhzFT4ajLW5UOTQbZbMMI42OD7YsO8iZy5BY3QbUt7egzvspaPkiGm43lZr4V+eydGh jcb1B2ilojDGt7Jml2OqwaqlE3qJa9eNVQnf4lxKjCJicw7PezYTkMbjq9usCyyhSVeU q+zwVpmdG8JLdFxx49gZItAWiIuf3EpeOdM/xUlRgJKCM8Y3Yuge4SNUxgrwI2jLrsH5 3xs7Kvr6VIfO0bNtTji0fJE32u7KN2P4F6/0rRvctafQIOiKV0gImowG7BYOd+IkK1CM BZqg== 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=h4TwymVH4nUf2yX1U39FKNGXKCYa3PVX8J5tBVDppKcvPQF6eUkYZe/YiJ24BnzCus uj+aMXba+A8l0exPBe/JlnneHKfCaxh+Dvp6s8GjeBUIJA8ZLiW6zgzzXBttxyc+tdvX Fx3rCUHzDuExmc5iqA/YqVnuGurECcBwqqZOPJYsfguWbv+z39cHKPuiddYg8Yo367sA o9XCItgnoWlPvpoRDQNoyzf9F4PyeQ6Y+ilxKEvPZvGxsXcKxRmKLXb4snJmBwnvhOkK pm8pkcNyTFn6mNg/yizN9uzbfZcLVYlMxwRPxuxN/cPxIRTUNX7nCYNIKgejsUQCH9te 9pUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FFjoX43T; 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 t23si22528052edc.387.2020.12.28.08.28.38; Mon, 28 Dec 2020 08:29: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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FFjoX43T; 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 S2440966AbgL1Q1F (ORCPT + 99 others); Mon, 28 Dec 2020 11:27:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:35858 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730942AbgL1NIb (ORCPT ); Mon, 28 Dec 2020 08:08:31 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BF79A21D94; Mon, 28 Dec 2020 13:08:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609160896; bh=ZQx4jiJYSqq0ifLV2fS+ihkyAB+CjY19pTM7Afr80S8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FFjoX43TD+MDOHaW6R+DYwmIIwNrbMUuP/MIQhm31xOAHy7gfH8vAVuiNKS/KtyJ3 ZtzYxLSz0RVmTkXemezp9KeYTjtGCKo3IFu7eE1zu90sbmWtapdE1Qfab3dyjukjk3 UTsy1p9u9KSsULsQbTEvchg3lxMjndbzdIrWgRVs= 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.14 031/242] USB: sisusbvga: Make console support depend on BROKEN Date: Mon, 28 Dec 2020 13:47:16 +0100 Message-Id: <20201228124906.194088309@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124904.654293249@linuxfoundation.org> References: <20201228124904.654293249@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