Received: by 10.213.65.68 with SMTP id h4csp3925757imn; Tue, 3 Apr 2018 13:10:27 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+qmWvB6YJOOXiy9MkGnOIWHRjfHq/Xw5Q6GUqWlqhp88iw6s39a7sGqfPYi4omO/n6GaIB X-Received: by 2002:a17:902:2983:: with SMTP id h3-v6mr15849197plb.80.1522786227097; Tue, 03 Apr 2018 13:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522786227; cv=none; d=google.com; s=arc-20160816; b=egF31kk5XFJdYLH4FmE/CAmpf0Lx3c7O0jjIed4vomdKXeNPcj7pSXnqVG47iiAngj 6N+rMp4VGVfzUIZxEYof1LJ94Wjl0ieZDxrIe9rm4M7G/b4rGBi7qFU/gspLTWna0wGi jcr/lBQDm2jiHoNNhIJiEy1IoUhDlzzjTAj7xxxSna5sih1lDUHnrq3pZQSgvpJC+lVp nAwQsizv3+7DouhzuXXNr2FMKqTNU6lsHHAkS277Wzg7BLZdQCethWLbxKBRomB1M0v7 XonOIfMUR9IvmD/BqK0rfkPBnJi7+YGuiTgLHUpfrgdq9vWMrtVl6xM7cG3t/f3VqJeL Hthw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=CtrONBgtXE8TzqOsbbHRHStVBC4yy1IUztXXh05ksXA=; b=QbryDFJVRFX4jQJftYmJ/LHLwsSUgcbI1YQPhtpTiqPMZzh976JW9FUMHjan1CqVQv Yt0byuJSjJw6c+SfnG+zGEIja/SvfPlLbiZkkb6gRO45DlhZgYfuWlg5UIhDNQ5/Nuta 2ZYFgPNQ4NRF4bLQercENNZ8U2FVHiP2OBcp/KKTkT7QpOFZMW4htFl5bs4da1KNtvRk R6gbYMfqfzClSFq1feX01rlRMkG9atZdyy+dR+rBo7I1gOnNHx5GXSaKyDmLeq93TuKo +86g1VdWPw8CwvutgyTRLh8GMxhhwh9nrJbqvj7Z9hrMFKioO6aex0iBy57o04lw8M+y 4p0g== 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 4-v6si1278257plb.205.2018.04.03.13.10.12; Tue, 03 Apr 2018 13:10:27 -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 S1753223AbeDCUIn convert rfc822-to-8bit (ORCPT + 99 others); Tue, 3 Apr 2018 16:08:43 -0400 Received: from mail.bootlin.com ([62.4.15.54]:59279 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752650AbeDCUIm (ORCPT ); Tue, 3 Apr 2018 16:08:42 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id DE78320728; Tue, 3 Apr 2018 22:08:40 +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 shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.home (vol75-h03-176-137-37-244.dsl.sta.abo.bbox.fr [176.137.37.244]) by mail.bootlin.com (Postfix) with ESMTPSA id 311FB20650; Tue, 3 Apr 2018 22:08:40 +0200 (CEST) Date: Tue, 3 Apr 2018 22:08:39 +0200 From: =?UTF-8?B?TXlsw6huZQ==?= Josserand To: Chen-Yu Tsai Cc: Maxime Ripard , Mark Rutland , devicetree , quentin.schulz@bootlin.com, Marc Zyngier , Russell King , linux-kernel , Rob Herring , LABBE Corentin , Thomas Petazzoni , linux-arm-kernel Subject: Re: [PATCH v5 11/13] ARM: sun9i: smp: Add is_sun9i field Message-ID: <20180403220839.0ec8f9b8@dell-desktop.home> In-Reply-To: References: <20180403061836.3926-1-mylene.josserand@bootlin.com> <20180403061836.3926-12-mylene.josserand@bootlin.com> <20180403084655.x6u7s4jzqdvq2eey@flea> Organization: Bootlin X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, 3 Apr 2018 16:48:41 +0800 Chen-Yu Tsai wrote: > On Tue, Apr 3, 2018 at 4:46 PM, Maxime Ripard wrote: > > On Tue, Apr 03, 2018 at 08:18:34AM +0200, Mylène Josserand wrote: > >> To prepare the support of sun8i-a83t, add a field in the smp_data > >> structure to enable the case of sun9i. > >> > >> 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? > > Using a pointer would also avoid some of the code movement from the > previous patch. > > ChenYu Yep, I will use a pointer instead. Thanks for the correction. Best regards, -- Mylène Josserand, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com