Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp175457rwb; Thu, 1 Dec 2022 00:17:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf6YYUc52C+VQr51NdrcMtUggqgnfpZZsai1MH02SIF6mVh8nhyiHB+afsLfPYbsSbEAe39t X-Received: by 2002:a17:906:89a0:b0:7bf:ca7b:49de with SMTP id gg32-20020a17090689a000b007bfca7b49demr16468252ejc.296.1669882632609; Thu, 01 Dec 2022 00:17:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669882632; cv=none; d=google.com; s=arc-20160816; b=s9/6RZAjilB8dM3NJirYS2Nei4Ofvq+ETWoQ+Jwvq51d6Tme7iko21r2Cdkb7iPFS9 qVlDgURjM6OJvxIh6ib0P/EGsC+8e1fxkArz71AOHgYEaISLmLA4wW420T1cyttNfMEm c3lGcX4Dvf8HSkCVJEBSHk33mHvUc5YxcfuWUq9FRvw7PiC0+BuqfR0Lyasf3pTubsqv nNo4O18G9TwI6YgQrWAKSyFCgNZ2jKw2WltmilHFUNO3zsmXQBYsSCniv6Q6HpJMfWBF 2gWIUSj6FV0m/iKRzzyycf2RqrTTmIm0MrEbIEariGqSbUbc1FHiEhC1zst3m70fePhf Y/Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=k/V4McUg+ECPIwq4gyM2xv+F1OS+t25GEfO5qGkiOOw=; b=w/0Xwis+32TU+VmtphkOPHWumKJy7W/wPEzeE+V39R/os0fE8/L/jXDDD2VanlreqD bbD3myZb2DtizEF2vWgp6E76F6Z7jmzAu4UNhs8/1nrS4kruwT9dPUtzu4OVzNEGuj0a Xop8ItRymfWRWXbypol1s69P5TDgG1eB7IuBH7B3zxEO2d/Yfdwtr/HzQ6p+MC91g6xp xg/SM6x8MJyTDDkwMZfyED0FXSOWSlrDb/DlYEX2FavHu0A6XGg+jvbLLUK26ainiHzc f0ws9/58Xm6SHLdMKgiQIqofgwqnLc8+eKhsiKPvg+nfmGDB08tAPqfbYmG6rMaBTOyA XS8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=oeDYOI4N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g23-20020a50ee17000000b00459fc3fcf3csi3171496eds.102.2022.12.01.00.16.53; Thu, 01 Dec 2022 00:17:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=oeDYOI4N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229984AbiLAH71 (ORCPT + 82 others); Thu, 1 Dec 2022 02:59:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiLAH6u (ORCPT ); Thu, 1 Dec 2022 02:58:50 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33FDA3FB81; Wed, 30 Nov 2022 23:58:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1669881451; bh=5lj8vIDyBwi7A84crvGtUsrnfkuqUwlP8Sc8sKuHUnA=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=oeDYOI4NcYQuPxomBZOpIos8ctSu/YlWeW/cPAoaZYlQi1wW+G4FcXX8MWr6eNE0C XdIsa1pZWpoAmGd8gJYeTuO6OQ6HABPtAy3AjTbERmqAn5xe19SJyoE926DLyRcCet RtPNK2elZ+WqrYpFGdUbvga7xS3XfYMqoOic5wBQT5X00g/FTKgwRWaaWMufdPNAGM HS16n5FcutBPImHh9dg8ZsXw/hKAz2whGS1LwOBbXITmYTP00wOxIWBePq1h8DuSPl EValiiX3b5wrpZfIFu+p64bhpqtSPS6Pm7hisAmM+LnLSOwGMrw3DkZk4zW0pTsdv6 58Ns04jX5e1ZA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([92.116.178.52]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N95iR-1oyG0y1t0Z-0166gC; Thu, 01 Dec 2022 08:57:31 +0100 Message-ID: Date: Thu, 1 Dec 2022 08:57:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 2/2] fbdev: uvesafb: don't build on UML Content-Language: en-US To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: Johannes Berg , Richard Weinberger , linux-um@lists.infradead.org, Daniel Vetter , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Michal Januszewski References: <20221130215559.28969-1-rdunlap@infradead.org> From: Helge Deller In-Reply-To: <20221130215559.28969-1-rdunlap@infradead.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ZksNENsIBlY8zmacmvPxeuE6AT4K0leodsrZiYiq7mTIKVSfSVH 0jp0Au8+7ohKaM6vvryTb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fzBSMC86P/FtuYOlLplK5Dr75iyylEHEdNX1mHXALr4p0w3Bw8VvF56ivZe8KTjdvm+hp5pv Pvnxj27jekGKs6yrw+kDfuxjRJg= X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/30/22 22:55, Randy Dunlap wrote: > The uvesafb fbdev driver uses memory management information that is not > available on ARCH=3Dum, so don't allow this driver to be built on UML. > > Prevents these build errors: > > ../drivers/video/fbdev/uvesafb.c: In function =E2=80=98uvesafb_vbe_init= =E2=80=99: > ../drivers/video/fbdev/uvesafb.c:807:21: error: =E2=80=98__supported_pte= _mask=E2=80=99 undeclared (first use in this function) > 807 | if (__supported_pte_mask & _PAGE_NX) { > ../drivers/video/fbdev/uvesafb.c:807:44: error: =E2=80=98_PAGE_NX=E2=80= =99 undeclared (first use in this function) > 807 | if (__supported_pte_mask & _PAGE_NX) { > > Fixes: 68f5d3f3b654 ("um: add PCI over virtio emulation driver") > Signed-off-by: Randy Dunlap > Cc: Johannes Berg > Cc: Richard Weinberger > Cc: linux-um@lists.infradead.org > Cc: Daniel Vetter > Cc: Helge Deller > Cc: linux-fbdev@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: Michal Januszewski applied. Thanks! Helge > --- > drivers/video/fbdev/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff -- a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig > --- a/drivers/video/fbdev/Kconfig > +++ b/drivers/video/fbdev/Kconfig > @@ -609,6 +609,7 @@ config FB_TGA > config FB_UVESA > tristate "Userspace VESA VGA graphics support" > depends on FB && CONNECTOR > + depends on !UML > select FB_CFB_FILLRECT > select FB_CFB_COPYAREA > select FB_CFB_IMAGEBLIT