Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2135107ybt; Mon, 15 Jun 2020 20:09:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfkJqRUTpCNt4QUviAnM1qsZDvxZv7ymiVkMUV6IaLK9QpgI0MwF3Ntrskfc3Bfbs/SGk3 X-Received: by 2002:a05:6402:148d:: with SMTP id e13mr746639edv.200.1592276993497; Mon, 15 Jun 2020 20:09:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592276993; cv=none; d=google.com; s=arc-20160816; b=LQXfMn4eRJoIZy+klRkW0fvaFqdiQgBoLlqzJ7IKbLyy6Mc1GlytbBHvnI8qPoexxL 1hjgE5HwfM5o0EKyRwR0fPZkj6HagqjDo8G14mQSZBNaM9ZlmdEdYx/ruAhCPn1PwZy7 4Gwwf+wkJuuIoroFFrXt0EcvHyDNe5rQiDOhA7WXqrfVrgyp/tsJC9ci9xK2IgAFHojb qB1n49mZB79c8CcF9D/Kf8rdGVdf+bSUCQX+ioGxDC4oDocquZdZSoVRvHmKcqBPNOd7 /03WJ9p74VjT+Kra5rcZDH0xsor1QHuOh5liDZcPUU+0Jezdxx7S7sAuY3MsJ0F1QwiM /zdw== 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 :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=XrQwFMgzmQ++BTETHMRkARdW5JDjGNo8Hn0JI+Z6+v0=; b=YtR1nbXBYXf2QoZCVnbU3qamX+z0EOUNIh7IR8qP1qx0w9I60MJ2gpEnzSjicPSwq7 hK7jTwVnl+SYI2mNbxHGGFq3WbquTZU9d0GLHPx64yp69zRD05htYi+RnNj6rRzPmGa6 isbvllqIhE9CcydP6aPAiDCi7jk7i7hFQKh+JDo2p6BmBzEPzb3axFRbTLieq9I/BcLD iYibe/55I/9viQa2VRJrWFdxhaGCYjWhh9axEsn8kQ1wkIRmKXkwfW1bi3xkFH9ONRtF 0XsuIDVlWS2QH6l5mJxtjQTLcciJPgQ4rYBAY5/J/2Z9KXc82dDm85NV85zwtiuDqPKv UAKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=Lisyu563; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t24si9554206edq.543.2020.06.15.20.09.29; Mon, 15 Jun 2020 20:09:53 -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; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=Lisyu563; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726404AbgFPDHY (ORCPT + 99 others); Mon, 15 Jun 2020 23:07:24 -0400 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:51840 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbgFPDHX (ORCPT ); Mon, 15 Jun 2020 23:07:23 -0400 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 3CBFB806AC; Tue, 16 Jun 2020 15:07:20 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1592276840; bh=XrQwFMgzmQ++BTETHMRkARdW5JDjGNo8Hn0JI+Z6+v0=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=Lisyu563s6DH0QCMPc7BAnEtj1lJUuqKBJ/rqRu+74BKqlMVsb3matB8fht/HoBZr Uv5aUIXKvCfxxL/dpdYMqjurJvxFW8XEVBy/nMmo15vYradSFTS/MTRIRAumMA4oNH kzFEpdNoZStZSmcH1K9XRdbZFClzAMqWsqa9CuJ/lD2pflvNf1PKTeNWYftWcSrMrz TuTspGtHdDBjxUxLK/HIgr5AahaBBEORMOIm+IdpjwMzQH4Vlml5/Mt77PlzFpK8It qgbHz2BZ859Qmo1L1IgPGyGrL/C+s8I3A+ug73cDFn3q9hLfoslpmXdcYEFSqyl/L2 2kCR/axHn3Ygg== Received: from svr-chch-ex1.atlnz.lc (Not Verified[10.32.16.77]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Tue, 16 Jun 2020 15:07:18 +1200 Received: from svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8::77) by svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8::77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 16 Jun 2020 15:07:18 +1200 Received: from svr-chch-ex1.atlnz.lc ([fe80::409d:36f5:8899:92e8]) by svr-chch-ex1.atlnz.lc ([fe80::409d:36f5:8899:92e8%12]) with mapi id 15.00.1497.006; Tue, 16 Jun 2020 15:07:18 +1200 From: Mark Tomlinson To: "broonie@kernel.org" CC: "linux-spi@vger.kernel.org" , "kdasu.kdev@gmail.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 4/5] spi: bcm-qspi: Make multiple data blocks interrupt-driven Thread-Topic: [PATCH 4/5] spi: bcm-qspi: Make multiple data blocks interrupt-driven Thread-Index: AQHWQspGicsrLKHS70ycxRR+nhJ226jY9N2AgADS34A= Date: Tue, 16 Jun 2020 03:07:17 +0000 Message-ID: <40bae0160c6e24c3d90d4935eb31cf3de64abc9e.camel@alliedtelesis.co.nz> References: <20200615040557.2011-1-mark.tomlinson@alliedtelesis.co.nz> <20200615040557.2011-5-mark.tomlinson@alliedtelesis.co.nz> <20200615143233.GW4447@sirena.org.uk> In-Reply-To: <20200615143233.GW4447@sirena.org.uk> Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [2001:df5:b000:23:ed42:47d3:290f:32e3] Content-Type: text/plain; charset="utf-8" Content-ID: <40BFA6DC74A6F54791D9992BC84A293D@atlnz.lc> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIwLTA2LTE1IGF0IDE1OjMyICswMTAwLCBNYXJrIEJyb3duIHdyb3RlOg0KPiBP biBNb24sIEp1biAxNSwgMjAyMCBhdCAwNDowNTo1NlBNICsxMjAwLCBNYXJrIFRvbWxpbnNvbiB3 cm90ZToNCj4gDQo+ID4gV2hlbiBuZWVkaW5nIHRvIHNlbmQvcmVjZWl2ZSBkYXRhIGluIHNtYWxs IGNodW5rcywgbWFrZSB0aGlzIGludGVycnVwdA0KPiA+IGRyaXZlbiByYXRoZXIgdGhhbiB3YWl0 aW5nIGZvciBhIGNvbXBsZXRpb24gZXZlbnQgZm9yIGVhY2ggc21hbGwgc2VjdGlvbg0KPiA+IG9m IGRhdGEuDQo+IA0KPiBBZ2FpbiB3YXMgdGhpcyBkb25lIGZvciBhIHJlYXNvbiBhbmQgaWYgc28g ZG8gd2UgdW5kZXJzdGFuZCB3aHkgZG9pbmcNCj4gdGhpcyBmcm9tIGludGVycnVwdCBjb250ZX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