From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson Subject: Re: [PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations Date: Thu, 22 Jun 2017 14:20:43 -0700 Message-ID: References: <20170622164817.25515-1-logang@deltatee.com> <20170622164817.25515-5-logang@deltatee.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=bWr6MqcJvaSxYg0PGYsPBlwe+qp/day58VnONXtSiqI=; b=ZDO6ebaoaoX5/qJkMBKzUJdY4l6uUONbSxfNjmtogL28IY9XOA20yoMZ+5nEh3AFEW Rwbuo/UClr+ekXdnwXDULnir57yPRUs0aRrk75AS6cXNCcK52nI5VqX4pHFgQ5ipxnYT B41V+gMjXyJ0aDVEBzqOkkQuWGMSy/2zQ8L13JU587nelWLwDC3Ldoq8ckpDprRAMBVz JqbX7o1JB69U3jx97jurkXWlLJDiZVoLpT8Z9RYWdl4FweHq8OfOnPGH+9s6JNcNuwa4 AaKXMhYmX+gkK1OT03ORBYm/Rj3MsVkiUr+uJ4C0KHX60W5mfg7xRAcswjqVSZXZZ3/C gy5A== In-Reply-To: <20170622164817.25515-5-logang@deltatee.com> Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Logan Gunthorpe , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-ntb@googlegroups.com, linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-crypto@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Arnd Bergmann , Greg Kroah-Hartman , Stephen Bates , Ivan Kokshaysky , Matt Turner On 06/22/2017 09:48 AM, Logan Gunthorpe wrote: > Alpha implements its own io operation and doesn't use the > common library. Thus to make ioread64 and iowrite64 globally > available we need to add implementations for alpha. > > For this, we simply use calls that chain two 32-bit operations. > (mostly because I don't really understand the alpha architecture.) It's not difficult to provide this interface[*]. I believe the only reason I didn't do so from the beginning is that it wasn't used. r~ * At least for systems other than Jensen, which cannot generate 64-bit I/O. On the other hand, Jensen doesn't have PCI (EISA only), and so won't have any devices that care.