Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8273399rwp; Wed, 19 Jul 2023 07:39:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlEUM4haKh2uexkWfMl0T3f2UKBVdEyozu92BZBCOk0aVrymjCWP8i9/e5SpRrqhTVDjT5OH X-Received: by 2002:a17:907:3e0a:b0:992:16bb:2b6e with SMTP id hp10-20020a1709073e0a00b0099216bb2b6emr2517061ejc.29.1689777575739; Wed, 19 Jul 2023 07:39:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689777575; cv=none; d=google.com; s=arc-20160816; b=LzQJiqHGO+C7x+nzIgUz256qoZeU8gqRE6NhZJN8WrtkxwEA1pXmOQr7QkHMZ0WgQB 86uhis7gsh4BTK29VqG88hBWkNjMnya90+LZ6Ouh8X4kLCn8sV7U+xEtjTn1z/+KpM3r 3Dc3HZpugzWntZovRgYzss7KEp8iBVygd0lDgIC2Z9nEZ0thym5bPxjNY0ZizDR8kg4R /wDlgsuR9L5teH+TPCAaTZbx/EyREX/XAExF0f7VHVSuhVyKOzwPRPxgdKViJvTn2Kx1 rFBJhOiwGonOReXi9cUbhCyvdSkMFcpuooSAv/JnE1yzxXrnXo7thusMXWmaiLnSnmGm Q7qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=xY+xsOpuPsAa6KICDwWDt2PoXyQ0u/vopB2mSitD/gY=; fh=/vUeYG8BbC4v2aqyVepzpbVVZqjidfEBEuCugcFx/lo=; b=shj/XMEdQ6nCg4MWfQEgGGiR6I5k6gQU08i47A41/8139DJSZJBB4EZSPACdHT6oJa kcEwmE7yuVmYrcE+fI9OYmMwHn8fiaUe+4qfVDvk7XT3istIZBnKbO2sQEDVWLmy963N 5Zws9mGTjpo810VF+vQrVLqBm3j2lCn2MFl5jxQRnB9JunN5kUPbRM/zLnHRz0Sd9e3L PSEQRMU9tw47TfUNFTePbTNdMoMGpTcg9R4CtQ7EVKew3KxUmiN9UDH2qpCszxiZP3fh yLzMSJDiFx/WXOpDXri4C6BsFH7BKPeyqoPLNKxe6gMonfR5F+86n6revgWBr/fEEDQD NcCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bEhhtQcx; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p25-20020a170906229900b00992f8116abdsi3043623eja.480.2023.07.19.07.39.09; Wed, 19 Jul 2023 07:39:35 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=bEhhtQcx; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231641AbjGSO0Z (ORCPT + 99 others); Wed, 19 Jul 2023 10:26:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbjGSO0U (ORCPT ); Wed, 19 Jul 2023 10:26:20 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0432F19AF for ; Wed, 19 Jul 2023 07:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689776715; 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=bEhhtQcxuqNsqvc4Y7MHuX5TdNeOJ8ulQrorW1HkLbzmiZKfDTXH3GM/9c/kIlun3gKizg 56k1VWnEkstVjsG1pdPNroJDRDQYhsnvP5b1rUt812+pQUdoUIVCq32svLyTuRASp9w1zY KNQLQUHoOt+3go4u8P4A1s8bYeu9Y40= 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-398-PMHaokdYNzqtomInoshDHA-1; Wed, 19 Jul 2023 10:25:11 -0400 X-MC-Unique: PMHaokdYNzqtomInoshDHA-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-315af0252c2so4208152f8f.0 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=QNrsDLIUqVUUYwg0lRZm6TYKokRgk9qST12TM9GNp9iNTObL6r9E8ToHjvr+zGTUO5 oNK73VPEwL/vueTZUI+KtQwl4QmFoIKg7q3dkgo5Y5mcd9gxmyn/gsrJ986EQKL16uG6 3k7Kw5Z97c5sJ0b/cgQbHkPbwTPc52G1BBj/jgke1i2BhIrUckIcnEBHGBWHs4fuNN5x p0cZDTHcwjLBkbT6HUgKyQOEu7tnugvygunDBaezdjM8wS+CAxPtwjn3hN/JbrT27rld ghHxYwh7JNPmCzSiz2Gaq2Ur0+VP94+SXfhknrGaSWVfdLv/t8v9ySNCihURcLLFesw8 +VtQ== X-Gm-Message-State: ABy/qLYpVp+mHEFenXb4MSPNGH6FQ/VaCJsxkQjMrYp5hMn6DWp1FgN1 Oznq3UuUgdzjMnNEbjmb4nQqogkwFizisQO1vKdVuzCcmt+UGtwX1GPG5yHXf6rn/1BWQTeI3Ne ogmFDHtvUCAAMMAgiqqUlaUo4 X-Received: by 2002:adf:f6d2:0:b0:315:a2a0:e331 with SMTP id y18-20020adff6d2000000b00315a2a0e331mr15885wrp.50.1689776710231; Wed, 19 Jul 2023 07:25:10 -0700 (PDT) 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 Cc: Arnd Bergmann , "David S. Miller" , "K. Y. Srinivasan" , Ard Biesheuvel , Borislav Petkov , Brian Cain , Catalin Marinas , Christophe Leroy , Daniel Vetter , Dave Hansen , David Airlie , Deepak Rawat , Dexuan Cui , Dinh Nguyen , Greg Kroah-Hartman , Guo Ren , Haiyang Zhang , Huacai Chen , Ingo Molnar , John Paul Adrian Glaubitz , Khalid Aziz , Linus Walleij , Matt Turner , Max Filippov , Michael Ellerman , Nicholas Piggin , Palmer Dabbelt , Russell King , Thomas Bogendoerfer , Thomas Gleixner , WANG Xuerui , Wei Liu , Will Deacon , x86@kernel.org, linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-hyperv@vger.kernel.org, dri-devel@lists.freedesktop.org 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 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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