Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934150AbeAHPbb (ORCPT + 1 other); Mon, 8 Jan 2018 10:31:31 -0500 Received: from mail-bl2nam02on0055.outbound.protection.outlook.com ([104.47.38.55]:43979 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933876AbeAHPbY (ORCPT ); Mon, 8 Jan 2018 10:31:24 -0500 Authentication-Results: spf=pass (sender IP is 129.130.18.151) smtp.mailfrom=ksu.edu; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=ksu.edu; X-Google-Smtp-Source: ACJfBosgbza8jDZ1JVUiD6EcoEcLS4dDN2TYgeZ4Z5/W2/OPA/Gzf9TIiCtuevaU/sCgCavGTI6m+BiCz4Y3H2Ah/TE= MIME-Version: 1.0 In-Reply-To: <20180104140119.5pyfihp4zs2poz35@flea.lan> References: <20171219210523.10428-1-kevans91@ksu.edu> <20171221145512.llxvzkcrjpquhczi@flea.lan> <20171221152630.2vf57x5o2yi5sv3n@flea.lan> <20171221190903.56ebae536acf51401c63802c@bidouilliste.com> <20171222083508.dfcp6egfvxykmogg@flea.lan> <20171222110727.520df7394234f6a5dc0b9ec0@bidouilliste.com> <20180104140119.5pyfihp4zs2poz35@flea.lan> From: Kyle Evans Date: Mon, 8 Jan 2018 09:30:57 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t To: Maxime Ripard , Chen-Yu Tsai CC: Emmanuel Vadot , Mark Rutland , devicetree , linux-kernel , Russell King , linux-sunxi , Rob Herring , Srinivas Kandagatla , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:129.130.18.151;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(376002)(346002)(39860400002)(396003)(39380400002)(2980300002)(438002)(199004)(189003)(24454002)(229853002)(8676002)(498394004)(6246003)(95326003)(55446002)(23676004)(86362001)(93516011)(88552002)(246002)(9896002)(61726006)(8936002)(42186006)(450100002)(47776003)(76176011)(356003)(305945005)(110136005)(59450400001)(54906003)(106466001)(107886003)(75432002)(50466002)(33896004)(2906002)(90966002)(316002)(53546011)(61266001)(2950100002)(16586007)(5660300001)(5820100001)(4326008)(93886005)(59536001)(478600001)(106002)(786003)(9686003)(55456009);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR05MB1965;H:ome-vm-smtp1.campus.ksu.edu;FPR:;SPF:Pass;PTR:ip-18-151.net.ksu.edu;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT005;1:YNtED7Wvqx+UdQvyuh7HJOVVLttQUYaLC22zukBe0stJKdvG4EJYzDgBoBw1t+0DD6ipaztuNosUsgShwdUHDUbKbPK0M0XxQ9G+QvaIz4AMwmK6Y4Xx8gaPnHAWiPod X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b5c9cf68-e564-4981-7d4c-08d556acdf8e X-Microsoft-Antispam: UriScan:(198831570735186);BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(8989060)(201703031133081)(201702281549075)(8990040)(5600026)(4604075)(4608076)(2017052603307)(7153060);SRVR:SN1PR05MB1965; X-Microsoft-Exchange-Diagnostics: 1;SN1PR05MB1965;3:uFUwLqzqVJp9+HfjMgcfd1vaNuqYs0iMtB4JBt5mmXiSuVyOFf6dGSAwYze1PHFWtIZ5ilaDcxh+OeFf+VhZbpjCdchQihdC9s0s+vqHQ4vjywDwpASui7qeXKGw3ROhsfkDh9yvK9h19NLs/iMGF7HuKe/U3aC8bB/LDtLSKrEOoeUykrUL631HUQ3+CNSsbGrp3tMd9bFfU41tQ1teRwmXMzNkfFHN52xouGUi88jwSPque1iALArNMm0ZHb7sYFFGZu+3CKs7PUWioZUDNCPPcm0KMa554pmBoGo3aauoX5Gv/3uk1NLNi+4z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xw/4bWiTfR5So5Ghh+jEcLqKLuVBRYJCWci0QK2l4Bo2IFSLQ9MRB32vscB4dMRYoUxAMzx6Eow0whMMrWk/RAJCXGj5AsYh1wxUdwLOQRS2ZkoE5/icpIivna21y4Ml7fuTI/wumciNGjugZ2KPvTRY5nT/1vYR5lfUhbS6NqFi X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705)(112903893386949)(198831570735186)(58145275503218); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93004095)(10201501046)(3002001)(3231023)(944501075)(6041268)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(6072148)(201708071742011);SRVR:SN1PR05MB1965;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:SN1PR05MB1965; X-Microsoft-Exchange-Diagnostics: 1;SN1PR05MB1965;4:0/9W+c+aijqshImV96hkvFJNgxhCxaXWsj/Urer7bQf8C3sYr66ao1WcQ1cC25kFMM7s5ggo3WFpIlflmuLbiNwe4HsUwTAoyemAk3piQL+evk+9KRPFUi/l+xwU5kkiaaTDEnQyuYTaQxIlCK2Pc0FwNPlF8bMAKJTtCMUt4Bamx45ngRiu14ObZPFVm+5215H3EgGiezvgTCv3lX8aetke62Kp9P6cfw9Ry7R2vjfkoU8ca8KOCzL/mnaeEvmLqCCu1GHwfSE9V+yBhrf5kTHkg/ggBJtnYThzPfDrBv4cBiY0EOaZ19FFph25TrcAoKafkhe2Vth4Ajv5VNomo0pyWs9gbrt1OttDUZTw2BIaZ2IPejEg+d56UlZs6+WbDtxixRVT35PDPX5qcJgFyMTtqK05Q9fO2C3aCnVPVW8= X-Forefront-PRVS: 054642504A X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjFQUjA1TUIxOTY1OzIzOkhDT1I5cmRhbEN0ZTJOWGhIREZFOXlkL0I0?= =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UXDuw+K+rQjC/W9dbzKjQNhiv7KJJjCeI8= X-OriginatorOrg: ksu.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2018 15:31:22.4064 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b5c9cf68-e564-4981-7d4c-08d556acdf8e X-MS-Exchange-CrossTenant-Id: d9a2fa71-d67d-4cb6-b541-06ccaa8013fb X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d9a2fa71-d67d-4cb6-b541-06ccaa8013fb;Ip=[129.130.18.151];Helo=[ome-vm-smtp1.campus.ksu.edu] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR05MB1965 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, Jan 4, 2018 at 8:01 AM, Maxime Ripard wrote: > On Fri, Dec 22, 2017 at 06:11:52PM +0800, Chen-Yu Tsai wrote: >> On Fri, Dec 22, 2017 at 6:07 PM, Emmanuel Vadot wrote: >> > On Fri, 22 Dec 2017 09:35:08 +0100 >> > Maxime Ripard wrote: >> > >> >> On Thu, Dec 21, 2017 at 07:09:03PM +0100, Emmanuel Vadot wrote: >> >> > >> >> > Hi Maxime, >> >> > >> >> > On Thu, 21 Dec 2017 16:26:30 +0100 >> >> > Maxime Ripard wrote: >> >> > >> >> > > Hi, >> >> > > >> >> > > On Thu, Dec 21, 2017 at 09:19:24AM -0600, Kyle Evans wrote: >> >> > > > On Thu, Dec 21, 2017 at 8:55 AM, Maxime Ripard >> >> > > > wrote: >> >> > > > > Hi Kyle, >> >> > > > > >> >> > > > > On Tue, Dec 19, 2017 at 03:05:23PM -0600, kevans91@ksu.edu wrote: >> >> > > > >> Allwinner a83t has a 1 KB sid block with efuse for security rootkey and >> >> > > > >> thermal calibration data, add node to describe it. >> >> > > > >> >> >> > > > >> a83t-sid is not currently supported by nvmem/sunxi-sid, but it is >> >> > > > >> supported in an external driver for FreeBSD. >> >> > > > >> >> >> > > > >> Signed-off-by: Kyle Evans >> >> > > > > >> >> > > > > The patch looks fine in itself, but we've had a number of issues with >> >> > > > > the register layout (and access patterns) in the past, so I'd rather >> >> > > > > have something that works in Linux too if possible. >> >> > > > >> >> > > > I have a patch that I think should make it work fine on Linux [1], but >> >> > > > I'm afraid I have little to no capability to test it myself and so I >> >> > > > did not add it as well. >> >> > > > >> >> > > > I do know that the rootkey is offset 0x200 into the given space [2], >> >> > > > as is the case with the H3, and that the readout quirk is not needed. >> >> > > > I wasn't 100% sure that the a83t has 2Kbit worth of efuse space as the >> >> > > > H3, but I do know that thermal data can be found at 0x34 and 0x38 in >> >> > > > this space. >> >> > > >> >> > > Then maybe we should leave it aside until someone takes some time on >> >> > > the A83t. >> >> > >> >> > Take some time on the Linux driver and do not apply this patch for >> >> > now you mean ? >> >> >> >> Yep. >> >> >> >> Maxime >> > >> > Since linux doesn't have the compatible in it's driver what would >> > be the harm to add the node in the DTS ? If a quirks is needed because >> > some region is weird this would go in the driver right ? I don't see a >> > technical problem for adding this node right now. >> > If Kyle confirm the lenght of the region and that no quirk is needed >> > will it be enough ? >> >> I guess I wasn't very clear. I'm OK with the patch going in. The device >> node currently says nothing about how much efuse space there is. The >> memory region covers that and the control section, and the size matches >> what the memory map says. >> >> The size and offset of the efuse space would be dealt with in the driver. > > Let's merge it then. > > Acked-by: Maxime Ripard > > Maxime Hi, What does the timeline for these things normally look like? I'm new to these parts. =) Thanks, Kyle Evans