Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2959940rwd; Mon, 22 May 2023 06:52:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4m4jeHbA/6k+wikzzYpsGcwN9DSa+h1DO9bHSmBtgLsAR1ERrSadekZdC+5JyzEPpvasoP X-Received: by 2002:a05:6a21:3613:b0:101:62c7:9db1 with SMTP id yg19-20020a056a21361300b0010162c79db1mr8559583pzb.55.1684763567390; Mon, 22 May 2023 06:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684763567; cv=none; d=google.com; s=arc-20160816; b=HeWbvw1vVCgt5FGik0lJ4vzAmWkc/EoE7x2ClW0jv4JcKzUGaL/BprksdHFAlo5/FX nGbOs5A5jNgrHTkNd/pJbSg3V8oP7ZUr+qXeAH5XJFTomeULLrFwiuL2NCukEFx7zWeI Qc+tZGgyGtuIZ7eWvtoDOfq6ZI53kt5gMP6usRh9x1lm3hlJILSLFvlcnoDH28bye69D Zv1Oe2x7IFCmA7SHsB0YAVO/txv77PculKJQZc5JXNuwdZZD0llKD/7Gm7zJGv7CDqcE H4QVGDNUfR0ww1zmUlXZlo/QVHPWN56U1sGj1FKuoDWOAANJBFHZQ/7E3sAePHdBiKC+ rNKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fJa+GKU9edCanEPVCfWeFwI5Lsvvl9efoskVffi2Y6Y=; b=NRNzPYXBv32tK+JgQq/HNF7nOGBFpkRyqNzuQQHQZgwB9of4fpF7QoK/yGg9BK4yUu bUg/enoCDFwi1KXCi8IgoRKy/xiWYQknt9t16TvyKF4IoWn/FUOmxCF0Nhwwq5EZ9SpM aQ6IJXFSMjKiUGfwQX/1ArLH9X0J8MRHi843DsxJZ70cORjze+h59dcqKd/ONbhGrIWv LtMD6900OU9IrZOlYnfJVHFKO2DtUelio08mkujhL48A71FWJN5YfnikkhQEhjCgT0mL g8B4Wlnw0epwIVEMAlKSrercQws6xJi4GlUkDjRYG/A6riUADy+f/z12UCIF1dzYwKtC RzVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UbnUaTxr; 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 w22-20020a63af16000000b00530b3b98fc5si2336664pge.417.2023.05.22.06.52.32; Mon, 22 May 2023 06:52:47 -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=UbnUaTxr; 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 S234293AbjEVNPN (ORCPT + 99 others); Mon, 22 May 2023 09:15:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234356AbjEVNPJ (ORCPT ); Mon, 22 May 2023 09:15:09 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DCD1E6 for ; Mon, 22 May 2023 06:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684761255; 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=fJa+GKU9edCanEPVCfWeFwI5Lsvvl9efoskVffi2Y6Y=; b=UbnUaTxryq0fPBsOuKCEQjP1Ur8F8Y940ZfYsznkyL9TeaLQipH1+Q02U9n1TVF1KEJUbp 84sBNDpPbExxAQ0/HW0xLQydfxOvibiPDKz7X6Nlf/9MEBDNaZaLbVUhsxknfybNUKy9nv h9vFrXWYU1jliDhIET+/uKmwB23wplw= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-671-DQ9PCLdCNdyTrKjd0AyNjA-1; Mon, 22 May 2023 09:14:14 -0400 X-MC-Unique: DQ9PCLdCNdyTrKjd0AyNjA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CAB7E3C11A24; Mon, 22 May 2023 13:14:12 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.139]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 53260401026; Mon, 22 May 2023 13:14:12 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id D7FEB1800606; Mon, 22 May 2023 15:14:10 +0200 (CEST) Date: Mon, 22 May 2023 15:14:10 +0200 From: Gerd Hoffmann To: Thomas Zimmermann Cc: Niklas Schnelle , Arnd Bergmann , Dave Airlie , David Airlie , Daniel Vetter , linux-arch@vger.kernel.org, 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, Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Bjorn Helgaas , Geert Uytterhoeven , Mauro Carvalho Chehab , Palmer Dabbelt Subject: Re: [PATCH v5 09/44] drm: handle HAS_IOPORT dependencies Message-ID: References: <20230522105049.1467313-1-schnelle@linux.ibm.com> <20230522105049.1467313-10-schnelle@linux.ibm.com> <2043cea3-7553-ee9d-4aaa-6f1d22ac4d87@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2043cea3-7553-ee9d-4aaa-6f1d22ac4d87@suse.de> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 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_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 Hi, > > 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. Agree. cirrus is x86 only (both i386 / x86_64 though). Just require HAS_IOPORT and be done with it. > And it has all been deprecated long ago. The fact that cirrus used to be the qemu default for many years is pretty much the only reason it is still somewhat relevant today ... take care, Gerd