Received: by 10.213.65.68 with SMTP id h4csp3272536imn; Tue, 3 Apr 2018 01:48:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx49484tHDwl6WZrjLaLn5kxyyOxB8jJ2dTn98fllfx4moU7d1PiCLcrdfLcFqCocTRChrvS6 X-Received: by 10.98.59.4 with SMTP id i4mr9918175pfa.26.1522745297649; Tue, 03 Apr 2018 01:48:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522745297; cv=none; d=google.com; s=arc-20160816; b=gQhQWDrB3lfhTn1dS2GFkaXYNMPVXrLloNoFe48HglivAsEryDoFk25t5BS2CnLh/E 4dimtD2SrwkEK/mF7t0+ur/WsJk3jiv+aR27bulZPQC7UWO4hBYBPsWtsUhnL6JFkl2x VIENORnvfmMRb4QNGEVjTeQNjPJpCTvyUx/VnXY9Uy6VpyIKmixlnkgVW+uOBoRZULGe BOOLuRaHRc0YMa+ABbqWR+9EYM2FfE0cotikyQ14YyMbSE1uQk+9/tnH9ygrrEwZemlx NWYpqx5yciAPC6x4OvL5CZ+ByrYIsFeBRDdIwvVM82nXl7/Ut1o1GYBwnA/a3x51/uLI lZPQ== 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=pfr457mFw7zpSQRcnQb6r2RPVfLa/MlelKxpLCknqmU=; b=AXHmEsQfEQbV4oHCYBDfOWGUCVmsNFQpLEw4qkkpJbz/2hc2YUtuipDQYayV4J3t2M EFopXvTClhz9Dz/52IwwAvTCX/SmFzPyvQsj3nThnpqXQMBIJDp3+si5cokAtkGx8HP3 63SjMMz9DSmvB9HrjA/MRJRrMVP81CaQPhWa6Z3BWbQxCeGOW9UAWq1TNGkZyxoIu9Ih aGtxwUUj+jpAYfy/SaKJnrBCC5nq740GcYTvm5BcaN/xajuDjsVTBwcy07dOB3TJ0wQD D4WpUcuiNQ0VJgOb2TFAgwWkZX3DylIjMqJguypVjX3aKDF3Fymofx4o7KLRBnslCCV8 sjQg== 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 1-v6si13096ple.629.2018.04.03.01.48.03; Tue, 03 Apr 2018 01:48:17 -0700 (PDT) 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 S1755223AbeDCIq6 (ORCPT + 99 others); Tue, 3 Apr 2018 04:46:58 -0400 Received: from mail.bootlin.com ([62.4.15.54]:40494 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755174AbeDCIq4 (ORCPT ); Tue, 3 Apr 2018 04:46:56 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id AF9BD20729; Tue, 3 Apr 2018 10:46:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 81EBF20702; Tue, 3 Apr 2018 10:46:55 +0200 (CEST) Date: Tue, 3 Apr 2018 10:46:55 +0200 From: Maxime Ripard To: =?utf-8?Q?Myl=C3=A8ne?= Josserand Cc: linux@armlinux.org.uk, wens@csie.org, marc.zyngier@arm.com, mark.rutland@arm.com, robh+dt@kernel.org, devicetree@vger.kernel.org, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, thomas.petazzoni@bootlin.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 11/13] ARM: sun9i: smp: Add is_sun9i field Message-ID: <20180403084655.x6u7s4jzqdvq2eey@flea> References: <20180403061836.3926-1-mylene.josserand@bootlin.com> <20180403061836.3926-12-mylene.josserand@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n4rkxyokbn3s45tp" Content-Disposition: inline In-Reply-To: <20180403061836.3926-12-mylene.josserand@bootlin.com> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --n4rkxyokbn3s45tp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 03, 2018 at 08:18:34AM +0200, Myl=E8ne Josserand wrote: > To prepare the support of sun8i-a83t, add a field in the smp_data > structure to enable the case of sun9i. >=20 > Start to handle the differences between sun9i-a80 and sun8i-a83t > by using this variable. > > Add an index to retrieve which structures we are using. This should have been in a separate commit, but maybe we can store a pointer to the array cell we're using instead of always using the index? Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --n4rkxyokbn3s45tp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlrDP34ACgkQ0rTAlCFN r3Qm4g//bPfB2331etPvExaOQPcQve6RHCxTFiq2//e1JZ+mW1KP5eTWUXZ3J9Jz /h+mGLy3yUoW/Vekgy1wLjEv1XMkCXSSHg9vtKck24luDHkdoBqEiOeWvPZ3jy7l 2J2EvenU1JB22VGcKHPoxPpHazs1TfB0NWVnhk0lRWEuO6IYaqZSJIqyvpdgfgQi wqAsrxQ5YahNYFknOKwA1KWB/IVX+od2LEBNzSS7KiPhriG9e7m6Op8173cWNy4t aXmXlOMhdh+Lwd+v52czRehv8nvzlMiUAkg5afy9+G5HjVRgqngMnFIjl5Zityv9 qd61IxKMeBKVBrBNAsp/M6LSl5bRjQFCQOznZOW0fCjFsph/DhXQyw5N9EKfMKhH nbbfD4BKuhTa57rgXqgfeOYv1xp0Hz7U7jno4gnPylLq0qF19opsnQx/xkkcRgzA GFoj88vR6LpIjfgY1vuMXXEg9Z+EW0EOxPEMyIBZv+W8d+EoYy8YdtzQs/snJAXF kwAEtFV1JJ36M9ludU3lqqEG43EP1DJvQR9kKWpx2R0BG+rHQfydTj3cvq1Fn24Y B9JMibCxAer5w3yqjmFWtaWvXe/L5lqG/NeLeDdOmNbksuf0Ccs63tczBAQTuwKX wgx6LVc84yK7CnUNXUT99j/T0sbd93KT3JKs+7LP5mVzz/9aLcQ= =6WCb -----END PGP SIGNATURE----- --n4rkxyokbn3s45tp--