Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp412583imm; Thu, 26 Jul 2018 22:32:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpesgaVR3X5kjSjO9891MCI9KkdNNW9dzAz/ZHDQ0er7M3N4/vw7oblFnvkazLbGk6zYtQpm X-Received: by 2002:a63:4e5f:: with SMTP id o31-v6mr4780536pgl.256.1532669573771; Thu, 26 Jul 2018 22:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532669573; cv=none; d=google.com; s=arc-20160816; b=cSGuUG3gHlFZlaMDuNHSx/mnGBCOj6KoXpeBn4oyeQmyQxsJ7gRc1XP+V9YQYdvZC1 TjBgm9vJgtir/nKmamSoFuEB39dl1JaAubn82/HvL3pKaN/mZnt4WullGq70AX7mwA0+ ClRyaPdofruNG8cgcghzfw9WBhR0d3yzqqX4L0BUV2R0m79VWAELjnf28shZojP7e1+q klJA6DOfQA41DZjtxK9c67JpDUYUMxRl6WcPCnl6H1Lh63T1UCREGAubLsnDwcNeKMYv qauKbSsFm5KannPCYdTBSuYWLv5ZUG0YvRkZV0dcHfef+Pq2PtCgah8luU1d5qaRN9jU w4gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=mXGgZYXn8s1dDg2RqM1oHrraWquSX47VgjFrOiVgKHk=; b=q3c8DiFJ+DMt0NVR4PSBbrOCzHz7Ve8gTkt772CHMkiyrG5ABhp+vns6CZkibYd/7F 3n7qEMFJzWwi6FYwdtc98eV9IHnThp0d9c6rz4Orx6cSMwlVSL2OcCjCwFtvl+3ZjhsV xy7xrummQoFidHMIwfn8Od99+9vFcSeKV9HUhaQh73xWI2WYCs1b2mlWIgo9EQ/tI5es UFFZjmZ42xW5jXfbZmN/8d2bWqL5+ZueMwO/a2LAQXKo0DG4G1thYDWvBY8/uzw33Qfi fyGR5z5en9Kfbk/mJaqZ18M5QiWB8yIS55LJhjyXBMf2cyGQpwMlpXWTW3VSwYbM10gS ieUQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11-v6si3179442pgu.649.2018.07.26.22.32.35; Thu, 26 Jul 2018 22:32:53 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729432AbeG0Gvt (ORCPT + 99 others); Fri, 27 Jul 2018 02:51:49 -0400 Received: from mail.bootlin.com ([62.4.15.54]:53052 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbeG0Gvt (ORCPT ); Fri, 27 Jul 2018 02:51:49 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id B141620741; Fri, 27 Jul 2018 07:31:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id 7E8692072C; Fri, 27 Jul 2018 07:31:37 +0200 (CEST) Date: Fri, 27 Jul 2018 07:31:37 +0200 From: Boris Brezillon To: Arnd Bergmann Cc: Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org, linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] ia64: use asm-generic/io.h Message-ID: <20180727073137.58668bf2@bbrezillon> In-Reply-To: <20180711120824.3882108-1-arnd@arndb.de> References: <20180711120824.3882108-1-arnd@arndb.de> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Wed, 11 Jul 2018 14:08:05 +0200 Arnd Bergmann wrote: > asm-generic/io.h provides a generic implementation of all I/O accessors, > which the architectures can override. > > Since ia64 does not provide readsl/writesl etc, any driver using those > fails to build, and including asm-generic/io.h will provide the > missing interfaces, as well as any other future interfaces that get > added there. We need to #define a couple of symbols to themselves > in the ia64 to ensure that we use the ia64 specific version of those > rather than the generic one. > > There should be no other effect than adding {read,write}s{b,w,l}() > as well as {in,out}s{b,w,l}_p(), which were also not provided > by ia64 but are provided by the generic header for historic reasons. > Kbuild robots reported the same problem on parisc an alpha :-/. Regards, Boris