Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2811228pxb; Tue, 12 Oct 2021 14:04:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyDb0mZzz8qFlX7naW6Mnvt9EciibnJxNGFPEBIAQjP2dqeO02GyKlAlH1RIDZM+lYtXwL X-Received: by 2002:a62:2f81:0:b0:44b:b390:956b with SMTP id v123-20020a622f81000000b0044bb390956bmr33708458pfv.30.1634072647622; Tue, 12 Oct 2021 14:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634072647; cv=none; d=google.com; s=arc-20160816; b=R+QVg7fCEDR9HbC7I19JJ5QchfVg1024j+AMkzqBklLl9f9P3kG/0QtY+nE28fHkBO YQIygT4FBXjeDp0wayNOk2osHWR/ZYu3ZQJ2P0uG8z/m7d9wOR7u939+AL7jlv2iy550 MTe9G1aIutXIdCZlnjecuZOxiRSvC+MgSi0m3GqgZVPYkAYbJTycEqWjG7yD+HGahRpQ kXs9/4AYKL2A6Ei9ImwBcnKUe/fCwqTMTEOSVBXWrskfowgztv1PpSXVua9fIu1biYCb TRccoYhEg92p6Rsgl4VbgLTluEjsYpo/ObpxNvv4NphkgvNCE3KFE4ATArYjPa9+pW0g JlKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=IPkS3tHpU2/gPHliDL5lFRzg5RN+W6llOtPIveimkOY=; b=aenFad19v97OXEir40iYSUo39O8IkPG02maX4jcn1UHi4vSKNagArk9OiusKIHdO4v n0BC/QAZMlRq+Y6LGj3Pi7zfxIVDNUIL/3WpN42JFOk8136oZrJB5xdsQ24rTuDNi+DE Y7OY3miWG6dodntbvKk6+ffvh/PUW887taDxp1dPMv2Z3f6Gq5fDsBWRub4XdmIRNWFG zpqfR78D+Vcra55M9bD70khdPI5AzKhJBJZrVG8ZAUbMQDp1IwLxVJA1xDk30Q68ZX2v IpdLZpbKOZxT+UrDN0nC0b45dL/LLO7Lpp0sTCQNQDIpDhX+MUYXCgaXpeEEXTqj5Yhw XUdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 25si16494555pgu.133.2021.10.12.14.03.53; Tue, 12 Oct 2021 14:04:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232797AbhJLVDX (ORCPT + 99 others); Tue, 12 Oct 2021 17:03:23 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:24797 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233224AbhJLVDW (ORCPT ); Tue, 12 Oct 2021 17:03:22 -0400 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-209-I912YUWeNjaH_VcVetXI8A-1; Tue, 12 Oct 2021 22:01:17 +0100 X-MC-Unique: I912YUWeNjaH_VcVetXI8A-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Tue, 12 Oct 2021 22:01:16 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.023; Tue, 12 Oct 2021 22:01:16 +0100 From: David Laight To: 'Jarkko Sakkinen' , Jason Gunthorpe CC: Cai Huoqing , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Peter Huewe , "linuxppc-dev@lists.ozlabs.org" , "linux-integrity@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] tpm: ibmvtpm: Make use of dma_alloc_coherent() Thread-Topic: [PATCH] tpm: ibmvtpm: Make use of dma_alloc_coherent() Thread-Index: AQHXv5BF1vwPy+MMsUecj0afA36gwqvP2EkA Date: Tue, 12 Oct 2021 21:01:16 +0000 Message-ID: References: <20211010160147.590-1-caihuoqing@baidu.com> <31619f2f192a4f1584e458f468422cf6e8f7542f.camel@kernel.org> <20211012154325.GI2688930@ziepe.ca> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSmFya2tvIFNha2tpbmVuDQo+IFNlbnQ6IDEyIE9jdG9iZXIgMjAyMSAxODo0MQ0KPiAN Cj4gT24gVHVlLCAyMDIxLTEwLTEyIGF0IDEyOjQzIC0wMzAwLCBKYXNvbiBHdW50aG9ycGUgd3Jv dGU6DQo+ID4gT24gVHVlLCBPY3QgMTIsIDIwMjEgYXQgMDY6Mjk6NThQTSArMDMwMCwgSmFya2tv IFNha2tpbmV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