From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F4D6EB64DA for ; Wed, 19 Jul 2023 14:26:07 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=HrdNt90E; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=HrdNt90E; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4R5dR158Dsz3bnP for ; Thu, 20 Jul 2023 00:26:05 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=HrdNt90E; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=HrdNt90E; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=redhat.com (client-ip=170.10.133.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=fmartine@redhat.com; receiver=lists.ozlabs.org) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4R5dQ33HMwz2yF1 for ; Thu, 20 Jul 2023 00:25:15 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689776713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xY+xsOpuPsAa6KICDwWDt2PoXyQ0u/vopB2mSitD/gY=; b=HrdNt90E1YUVvxqFM0oVK7sSJh1uSeBQbm63rkKSzFk/1PyJ2ouvJ3Zm8eFkoCvHrwzplg bpUjV2zl47c7o8oHm+9RV1MGdkBjuwTVQ7Rn7dJ/GMOgKFkiJHbuqsGU3y6fVTeARZAZW6 YGvV8CHp6jPwxoXHpb4Yt3novqHyumg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689776713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xY+xsOpuPsAa6KICDwWDt2PoXyQ0u/vopB2mSitD/gY=; b=HrdNt90E1YUVvxqFM0oVK7sSJh1uSeBQbm63rkKSzFk/1PyJ2ouvJ3Zm8eFkoCvHrwzplg bpUjV2zl47c7o8oHm+9RV1MGdkBjuwTVQ7Rn7dJ/GMOgKFkiJHbuqsGU3y6fVTeARZAZW6 YGvV8CHp6jPwxoXHpb4Yt3novqHyumg= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-488-I5fdMnJhNvmS-7WOJUK4nA-1; Wed, 19 Jul 2023 10:25:11 -0400 X-MC-Unique: I5fdMnJhNvmS-7WOJUK4nA-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-31429e93f26so4199973f8f.2 for ; Wed, 19 Jul 2023 07:25:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689776710; x=1690381510; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xY+xsOpuPsAa6KICDwWDt2PoXyQ0u/vopB2mSitD/gY=; b=fsQb8fRa/mKWIIF7EI4sM353hrnTiLQS720Z3bQNLc8N7LVulkZXfMyTcvNN/MPw3X DOgiIUJSF3KKK7qDzYLkLFkFFx8kQmGcU7VKjw2B0nPOIoPTnCk15hSatiK/ufM+FPry fHdvVkb1rRKQ3o87Fh+gJwu5d62OUZgorxfneAIyDawJhFjnsgI3V5hg+Ucud12i+olN sKBUkJFQGRN6xrbQsiUv0dpcV2ceP4SIxyzwtTijY9l0VN23r4rLWvwzJhhCQNSz4qvU UWcQZ3MMrle2alLHRWCUJT18bV+vXXhInf+0K5ZBTp5ij/VDzysyYsIKqyLpw6LnEdtb UASw== X-Gm-Message-State: ABy/qLbzmihWqYEWZp9dey2+81LahSH7uRcfKAbGyCLsqHE/EuoNWN99 /tPBZOSrCWg1u6KpRznxQ+HSfGWdydtcmi18YEdlnjIO2dCd1363HmeeXgWoJxzNAKaMcxiuIYh IZXxtvOUVgno605Ce6Qu9RavL2g== X-Received: by 2002:adf:f6d2:0:b0:315:a2a0:e331 with SMTP id y18-20020adff6d2000000b00315a2a0e331mr15857wrp.50.1689776710230; Wed, 19 Jul 2023 07:25:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlHdsBbmhlUZVwgJXnbSuIEfuMAzDx5IOvgnijOdvMDteAVkW8k0bDz3T8ek9eZvK84UcEFXkg== X-Received: by 2002:adf:f6d2:0:b0:315:a2a0:e331 with SMTP id y18-20020adff6d2000000b00315a2a0e331mr15829wrp.50.1689776709888; Wed, 19 Jul 2023 07:25:09 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id t13-20020a7bc3cd000000b003fc05b89e5bsm1805793wmj.34.2023.07.19.07.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 07:25:09 -0700 (PDT) From: Javier Martinez Canillas To: Arnd Bergmann , linux-fbdev@vger.kernel.org, Thomas Zimmermann , Helge Deller Subject: Re: [PATCH v2 8/9] hyperv: avoid dependency on screen_info In-Reply-To: <20230719123944.3438363-9-arnd@kernel.org> References: <20230719123944.3438363-1-arnd@kernel.org> <20230719123944.3438363-9-arnd@kernel.org> Date: Wed, 19 Jul 2023 16:25:08 +0200 Message-ID: <877cqwhtbv.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hyperv@vger.kernel.org, x86@kernel.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Catalin Marinas , Linus Walleij , Dave Hansen , dri-devel@lists.freedesktop.org, linux-mips@vger.kernel.org, Max Filippov , Will Deacon , linux-efi@vger.kernel.org, Guo Ren , linux-csky@vger.kernel.org, sparclinux@vger.kernel.org, linux-hexagon@vger.kernel.org, WANG Xuerui , "K. Y. Srinivasan" , David Airlie , Ard Biesheuvel , Wei Liu , Huacai Chen , Dexuan Cui , Russell King , Deepak Rawat , Ingo Molnar , Matt Turner , Arnd Bergmann , Haiyang Zhang , Nicholas Piggin , Bor islav Petkov , loongarch@lists.linux.dev, John Paul Adrian Glaubitz , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Khalid Aziz , Brian Cain , Thomas Bogendoerfer , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Dinh Nguyen , linux-riscv@lists.infradead.org, Palmer Dabbelt , Daniel Vetter , linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, "David S. Miller" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Arnd Bergmann writes: > From: Arnd Bergmann > > The two hyperv framebuffer drivers (hyperv_fb or hyperv_drm_drv) access the > global screen_info in order to take over from the sysfb framebuffer, which > in turn could be handled by simplefb, simpledrm or efifb. Similarly, the > vmbus_drv code marks the original EFI framebuffer as reserved, but this > is not required if there is no sysfb. > > As a preparation for making screen_info itself more local to the sysfb > helper code, add a compile-time conditional in all three files that relate > to hyperv fb and just skip this code if there is no sysfb that needs to > be unregistered. > > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat