Received: by 10.223.176.46 with SMTP id f43csp555632wra; Wed, 24 Jan 2018 02:22:47 -0800 (PST) X-Google-Smtp-Source: AH8x2265jzklnU8qCIbDqGL5YiikoFwQHCz2XDeGVgINCEsZtKRHOUO4uI2ZRSXvQDLwOTh3LlNO X-Received: by 2002:a17:902:901:: with SMTP id 1-v6mr1797497plm.165.1516789367241; Wed, 24 Jan 2018 02:22:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516789367; cv=none; d=google.com; s=arc-20160816; b=pqbWxcJKfO9CinLLhZCRBm9Hklv+RWV3SPCugr4G4+W3eN8ZO20Pfw9OyToqLpzkVv pLnycnc4NCYYyNoDBgpr9uSfWQTAdOYTIBUzq0lHeLq4javnuozhTzzNabG+hHxuAWc2 VIwXQ4koUEB6qWHVwZjN3CavGioY56GB1wN2xLH6BpAfOhJ0Dt4LPruvgF8EBbji6KZW 5mxWwKEtF1FoMYS/GZhOlbyxmYu7bSuuStO5f5fxOqpoSbl1LGY3hJFKj/NFGJVay41c kue7RFSpxiRTVFjysggLojlId0edtk/qGdcCnoL8D0ZM2m4RLDQNoheufpaDkKohH6Nu U9fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=qNEk9t28EEmb4lGZV41qAz/mDNei54JXXuAChYWJhu8=; b=vcf2j1BfCx9gPXHIQndhzmwIafTJmKriPwTNqgHyvIY+ZNCjuJoctSF3hrfry3h1LX 5fV4vg/aFEOfmNBWZR0RHjxgz/qWE2+1knREOKUnIcQvBYPhDXeCfjD3GQimZMuffVRb WzTOotjZsM5BemXA3UKKWPMFcMfYHs2Mxq8v2HXkiVzp7BJu164ZQur/UCRjgb55QI2a bbZ/Y8Tjtn2pv9XdvsWcAHBFMFC7BTqIDrMEbPR1Sn3gPKVZSGG400R9e4OHGnYtXwuk LIXmniLT338Hj1KwwOSoib8488TKAwDMvH4ED8BpoH0mduvWDoDhOmZwDEP3PsGrlaPD fukg== 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 s14-v6si5936058plp.604.2018.01.24.02.22.33; Wed, 24 Jan 2018 02:22:47 -0800 (PST) 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 S932953AbeAXKWH (ORCPT + 99 others); Wed, 24 Jan 2018 05:22:07 -0500 Received: from foss.arm.com ([217.140.101.70]:50694 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932775AbeAXKWF (ORCPT ); Wed, 24 Jan 2018 05:22:05 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ACD511435; Wed, 24 Jan 2018 02:22:04 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7CA7B3F318; Wed, 24 Jan 2018 02:22:04 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 321281AE3062; Wed, 24 Jan 2018 10:22:13 +0000 (GMT) Date: Wed, 24 Jan 2018 10:22:13 +0000 From: Will Deacon To: Yury Norov Cc: linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, Al Viro , Andrew Morton , Andrew Pinski , Arnd Bergmann , Catalin Marinas , "David S . Miller" , Geethasowjanya Akula , Greg Kroah-Hartman , Ingo Molnar , Kees Cook , Laura Abbott , Nicholas Piggin , Sunil Goutham Subject: Re: [PATCH RFC 0/3] API for 128-bit IO access Message-ID: <20180124102212.GC20586@arm.com> References: <20180124090519.6680-1-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180124090519.6680-1-ynorov@caviumnetworks.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 24, 2018 at 12:05:16PM +0300, Yury Norov wrote: > This series adds API for 128-bit memory IO access and enables it for ARM64. > The original motivation for 128-bit API came from new Cavium network device > driver. The hardware requires 128-bit access to make things work. See > description in patch 3 for details. > > Also, starting from ARMv8.4, stp and ldp instructions become atomic, and > API for 128-bit access would be helpful in core arm64 code. Only for normal, cacheable memory, so they're not suitable for IO accesses as you're proposing here. Will