Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp929367imm; Fri, 17 Aug 2018 08:57:56 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxrJIrbUAN8bn//e8MPI5KM3opnXJoTPKDKJWJkFC6Wlkj1mhHmzdZSpsUylA1HdE9Og8pf X-Received: by 2002:a17:902:2804:: with SMTP id e4-v6mr25092636plb.327.1534521476904; Fri, 17 Aug 2018 08:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534521476; cv=none; d=google.com; s=arc-20160816; b=Ym/8DYpYkf9hDiBbP0IQDcWb8wP87XUV9Y9c3TKZQNMG5X79cqBwxrR1/1quo1yO2/ MMYshZRGz5MN2RsNgB0eKqNWNrAr1vsm91P1UvqSN5fwyHrfyo3c5LDTYSPZj6t+GQs/ Ood7KLJd4rJOG/EM6+XbMgwiLhTTjb6269NuX7CVeINoRNMMRrGGgpJD4WMDEDZ0WSXT Qcla6GUTjfFq6Ybl+hBH1bjUoVOFGWtYZxBW6/X8Mf12Nkmnvvk6gzFKhVurS/mAIX9A nniNN1vzx/tJhJ+b1iQZPh3SNHJZ9wHf9zfb1D8Kq17sgsddqm5aZmI5XEvBf20hekTJ uW+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=/MAiqesH9ArSMjGgEAbidMGo3lO+ChdG2MVcXaAycCs=; b=S//Z4Hxarilp7aHH8Gb9NbvyyQ2/3TqR36pfAMTsCOP7T8lyG9PXT2PYyD57ph8Ns3 GDnRaUYeuURz/hS+Kd3Jh9EIwRlth8ePJvXsV5B2bCEh+/n8Lz/2229llahqtGjm42Bu ZUuT9Bjg9X7ik/OJzU4n5RW1Apc9sWh35rJfWMd62EPkTQQBop/yWQCBpwS+TRfUhwFH 1fNRDmbvjo9MAne6ZhnoX4268fKF7Qb7UJsNxDBnea6gtrvIlKlnPFU0nof4nd3oXQpv k0VKtNyFKrYW3V154mhnDedbzZOGSuP+OV3NM5y8ZX4KzxylY6y3dsGpAXDqOgHu5+kh jOUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2-v6si2600464plm.202.2018.08.17.08.57.40; Fri, 17 Aug 2018 08:57:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727547AbeHQTA3 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 17 Aug 2018 15:00:29 -0400 Received: from mga17.intel.com ([192.55.52.151]:56007 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726815AbeHQTA2 (ORCPT ); Fri, 17 Aug 2018 15:00:28 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Aug 2018 08:56:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,251,1531810800"; d="scan'208";a="81151546" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by fmsmga004.fm.intel.com with ESMTP; 17 Aug 2018 08:56:24 -0700 Received: from orsmsx152.amr.corp.intel.com (10.22.226.39) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 17 Aug 2018 08:56:24 -0700 Received: from orsmsx110.amr.corp.intel.com ([169.254.10.41]) by ORSMSX152.amr.corp.intel.com ([169.254.8.164]) with mapi id 14.03.0319.002; Fri, 17 Aug 2018 08:56:23 -0700 From: "Luck, Tony" To: Boris Brezillon , Arnd Bergmann CC: Bjorn Helgaas , Linux Kernel Mailing List , "jchandra@broadcom.com" , Sinan Kaya , Tomasz Nowicki , Lorenzo Pieralisi , "Miquel Raynal" Subject: RE: how to fix acpi_pci_root_remap_iospace? Thread-Topic: how to fix acpi_pci_root_remap_iospace? Thread-Index: AdQ1ogY0Ns2AKmc+RseoCIXE9twQpAAPjfSA//+wrwCAARIPAIAAAlCAgAABJfA= Date: Fri, 17 Aug 2018 15:56:23 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F7D3B3159@ORSMSX110.amr.corp.intel.com> References: <20180816204506.GA21144@agluck-desk> <20180816232639.GA25889@agluck-desk> <20180817105551.100d6e0a@bbrezillon> In-Reply-To: <20180817105551.100d6e0a@bbrezillon> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTE1NmQ0ZmQtN2Q4Yi00ZmM4LTg4ZGQtZGE4MDBlNGM1N2E0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUjhCZXFtNjg3aE03dzZVVUV3V05obzVyeXlrSGZEblJxbkJkNGJCY1dMQ3Iwc09wc21FMm15MGp2UXRhZk96ciJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> - Some targets don't have any support for I/O space on their PCI bus and just >> want to get things to compile by setting PCI_IOBASE to zero, this still opens >> up some of the same problems as above, but doesn't really help otherwise. That sounds horrible. Why would you want to have a driver that can't possibly work on your platform compile cleanly? That's just asking for trouble. Sombody might load that driver, and ... all the outb/outw/outl calls just corrupt low memory. > Hm, maybe it's just easier to revert the patch since we got rid of > patches adding COMPILE_TEST to drivers which were using read/writesl() > (it turned out ia64 and sparc were not the only archs to not implement > readsx/writesx() variants, and fixing them is not that easy). That sounds like a better course of action. -Tony