Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2930109rwd; Mon, 22 May 2023 06:28:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5XtJdW/M2m8Tpgs0jAdwLTzCWfdY+VQlY3lAuE/5zB6QSvNLn0s3HSO2v1bkjl+rpE3MUC X-Received: by 2002:a17:903:2287:b0:1ad:dac1:1955 with SMTP id b7-20020a170903228700b001addac11955mr13614815plh.53.1684762129995; Mon, 22 May 2023 06:28:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684762129; cv=none; d=google.com; s=arc-20160816; b=rv473RO3hG/KYRNqd/y30b5N+zQTql7jsarw76OtnzrrdECCoHYlnAvfWWkoSLU36G b1iye8kaYJfMxhTTtnKrOAf7ARbDNDSyxAtAtrT4ehVgbW5eKDkbRIDqUZAtjHJtXiMO pltb5on+3BXTTOYrdRl5FHjbpeAHaddcb+8I4L8l4WEZn3ArZejkiWmkvRKtL5U3yzXh Bv+XQeGO5d3eS9bYzqJDQv9UC0+NRfuCAz8fST5eGb6I/jLUmw5oMm5ctHfLwEo+64K4 SkzjOAUOT/rlvmZC+M5bCvphcMKHCqCGj1ylxVvsH8neWdI+KfHzbFg9NzKPWmoVuOd8 u1SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=c93SmvLDeC64L51UuCFxKGnCCgmnVKaRqTKgfxWZ1ys=; b=edGXRy7TQZ72WsJx6BBG0ZaL3Q9zShGTEzLM5va5vSQFNEvWpIx0d15PnCINLEY4Nm 1baE1lHDg0p1uLZdjBkrh7WmYhAKO/eyva+/me9abx31NOKe9khd8MdtWNIfHNZpM4Bz yKUPtYTQV+4fhvhacNW4z9cNh2Ob2DraimX5PDlZr/1mT1coh+PofkKSNd0VX8V5elXk xELpNdIgkDsjW0bV4VMX/ajL1bNHC5jb6ogFIZEhKl4eH938NANCVXkaiMakarQtmaZT qUGNrM6ZcjYebAfgbmYLWYuXFw1Kzx8DKyd05xXSSM+6Gd/cj7TWAQ0ochVtofOrP5c9 xwPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=MLCMKmdR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ZFevDW2W; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ju11-20020a170903428b00b001a50dcd10c2si1406426plb.247.2023.05.22.06.28.37; Mon, 22 May 2023 06:28:49 -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=@arndb.de header.s=fm3 header.b=MLCMKmdR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ZFevDW2W; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233557AbjEVNHI (ORCPT + 99 others); Mon, 22 May 2023 09:07:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233454AbjEVNHF (ORCPT ); Mon, 22 May 2023 09:07:05 -0400 Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 288C1AC; Mon, 22 May 2023 06:07:04 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id C056C5803A7; Mon, 22 May 2023 09:07:00 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Mon, 22 May 2023 09:07:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1684760820; x=1684768020; bh=c9 3SmvLDeC64L51UuCFxKGnCCgmnVKaRqTKgfxWZ1ys=; b=MLCMKmdR20X7i+uMMB p+8Bl8mcfuXsoN9oxkaYz9yJqNc+Uq0a0hGJ+SPuV5ZisOoi/9oUJYzVbdJ5mMsC wcn+reG+to+Nl024aZdHjvAndkmYyVIRPEooNtirOnocO6hajNyHYRikw3ONMlrt fK6766QSCaEUk8QYm+KF2R6aqV7aIN87uGt3Nm7/oHvpscIAfmp5IpMbBEnQvKbW w00+4GyOmUgnjxEjFJ73/VxZO6o/hMYs/o8+cSnBiUlZR0fGyZjbRnttT0Ypgy3U 53ISsGPqwikreb3ymgPcUWlwUVUj8ut0FteHzMfjygw8SVBXfDv4n//c18zDU3b0 xlLw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1684760820; x=1684768020; bh=c93SmvLDeC64L 51UuCFxKGnCCgmnVKaRqTKgfxWZ1ys=; b=ZFevDW2W8S7FjKYvqGFg4RabbRy9j D0vDK2N3DUtLciR97xwV9tvExxWzTBevblDXEdxtoh9du0rDBkeyR/Dj0zE6gxkE XPETVYrImwtFOAPzuQGAptzZraTnVt48wU8sXo7sGpeN4FAfgmG+nMhZCNYfTyE7 R5xBtnpMmklQ7JOsMBq9AZ70e1+eiPXjsobjzNHLZPFtrfThVW8gSo6Bi0449djK FT9mxoQGUq9Vkjm4POE6SYunF4yNYjxEMJhbLKgY3dH1YTkyKxLnVkyrlJSfjt7m LtUi3oGh9+57TywxB4t/XDwnQs+mq7oTUyLsNkCe84yqKEfCAJghKJz8g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeejuddggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6CA3FB60086; Mon, 22 May 2023 09:06:58 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-431-g1d6a3ebb56-fm-20230511.001-g1d6a3ebb Mime-Version: 1.0 Message-Id: <5dcf01e7-4378-4b4c-9751-454b16270c69@app.fastmail.com> In-Reply-To: <2043cea3-7553-ee9d-4aaa-6f1d22ac4d87@suse.de> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> <20230522105049.1467313-10-schnelle@linux.ibm.com> <2043cea3-7553-ee9d-4aaa-6f1d22ac4d87@suse.de> Date: Mon, 22 May 2023 15:06:37 +0200 From: "Arnd Bergmann" To: "Thomas Zimmermann" , "Niklas Schnelle" , "Dave Airlie" , "Gerd Hoffmann" , "Dave Airlie" , "Daniel Vetter" Cc: Linux-Arch , "Arnd Bergmann" , "Albert Ou" , "Rafael J . Wysocki" , "Greg Kroah-Hartman" , "Paul Walmsley" , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, "Alan Stern" , spice-devel@lists.freedesktop.org, =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , "Bjorn Helgaas" , "Geert Uytterhoeven" , "Mauro Carvalho Chehab" , "Palmer Dabbelt" Subject: Re: [PATCH v5 09/44] drm: handle HAS_IOPORT dependencies Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Mon, May 22, 2023, at 14:38, Thomas Zimmermann wrote: > Am 22.05.23 um 12:50 schrieb Niklas Schnelle: >> There is also a direct and hard coded use in cirrus.c which according to >> the comment is only necessary during resume. Let's just skip this as >> for example s390 which doesn't have I/O port support also doesen't >> support suspend/resume. > > I think we should consider making cirrus depend on HAS_IOPORT. The > driver is only for qemu's cirrus emulation, which IIRC can only be > enabled for i586. And it has all been deprecated long ago. I tried it out in arm64 debvm, and both the kernel and Xorg drivers are detected just fine according to the log. I only get a black screen, which could be the result of a missing VGA BIOS or the missing unblank Port I/O in the driver (I doubt the VGA ports are hooked up on arm64 qemu), but there is a good chance that it's currently working for someone else. Arnd