From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJb84-0001Yx-E0 for barebox@lists.infradead.org; Thu, 25 Apr 2019 09:57:22 +0000 Message-ID: <1556186236.2584.7.camel@pengutronix.de> From: Lucas Stach Date: Thu, 25 Apr 2019 11:57:16 +0200 In-Reply-To: References: <20190423171852.26126-1-a.fatoum@pengutronix.de> <20190423171852.26126-4-a.fatoum@pengutronix.de> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 3/5] ARM: cache-armv7: start invalidation from outer levels To: Ahmad Fatoum Cc: barebox@lists.infradead.org QW0gRGllbnN0YWcsIGRlbiAyMy4wNC4yMDE5LCAxOToyMSArMDIwMCBzY2hyaWViIEFobWFkIEZh dG91bToKPiBPbiA0LzIzLzE5IDc6MTggUE0sIEFobWFkIEZhdG91bSB3cm90ZToKPiA+IFRoZSBB Uk0gQ29ydGV4LUEgU2VyaWVzIFByb2dyYW1tZXIncyBHdWlkZSBub3Rlc1sxXToKPiA+ID4gU29t ZSBjYXJlIGlzIHJlcXVpcmVkIHdpdGggY2FjaGUgbWFpbnRlbmFuY2UgYWN0aXZpdHkgaW4gbXVs dGktY29yZQo+IAo+IFVuZm9ydHVuYXRlbHksIHRoZSBvbmx5IGVycm9yIHNjZW5hcmlvIEkgY291 bGQgZmluZCBpbiB0aGUgQVJNIGRvY3MKPiB3YXMgdGhpcyBvbmUgaGVyZSwgd2hpY2ggcHJlc3Vt ZXMgYSBtdWx0aS1jb3JlIHN5c3RlbS4KPiAKPiBMdWNhcywgZG8geW91IGhhdmUgYSBiZXR0ZXIg ZXhhbXBs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