Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp378128pxb; Thu, 19 Nov 2020 03:46:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9pR97x+NGcg4/23HEd4bEKqHhpPNd0ZdUxzorMNZdnV2+QsMdqQwOCT/JxqmGuL6pn1V7 X-Received: by 2002:aa7:d298:: with SMTP id w24mr5552227edq.82.1605786392446; Thu, 19 Nov 2020 03:46:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605786392; cv=none; d=google.com; s=arc-20160816; b=ydAY5GRKejnC17aapjvZXS7yQcDsyp8Odw5kgwLKShR0n0UXp1eC9Zn+L6u6cjcHch 6OM1PmPIMdujea1WSG9VOuVUJt95VonY+xHFHhuaQZVg9VolfdFiW4NwBQTegqIfWhiJ 6B0Okg4uEZt/ZQ9KDMjVnvNF7V1aDjIh5A+uo2WKw8RemP1fLN+VJ9E0EP7psxBMSuiF gdiuuMSMPviypqIG4X7gYPsRjk8yZgQYekrjehPPa7S55G4HE5qlZ+uc8GloYqtw773X +J8zF+6uUlinmCPXwlW4aYqyypIXHdcAc+Zxj3IJ1hvBlqcC9Ntw8xFR016fAJZMiwPn m5Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=c8Qo3iMTLDXZDQ8LhsVrB4GbG7ddhsHuA42Wrhb4+h0=; b=xb+tWcK6XCKe2kEFtLxDHLkKjA+Fy5BdQAEN706B5ep8DU5LQHefVJ9ZJ84ZPufjK1 ODgiIz76ZFYo3K/7cMMBlRNSZ6MM/NvlVmFQ+Ud4v2aYaPNES52OFL4W2yKqEPgtfomX cgWTpIMzmLCIQ2Mh6NURAW/rNPhAmyljPil2Y86PS6sMEwoGrleB5i2d9lzl/1Cpml4k Sv8UgIZ5TwZ4moHGBr6PM56IhHl/nnwyKZP2F9CXB5Yu39THBwtb06B6ONW2LLhsvx61 G7pNuTWSomK+QROVHTr+1HrE2J8Yi1B4s2asJkcfZoXgv3m/vwCr7OUpyyU1L8xAOYp4 WjRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=gh6maHtJ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hb41si8008487ejc.604.2020.11.19.03.46.08; Thu, 19 Nov 2020 03:46:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=gh6maHtJ; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727715AbgKSLol (ORCPT + 99 others); Thu, 19 Nov 2020 06:44:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727709AbgKSLoj (ORCPT ); Thu, 19 Nov 2020 06:44:39 -0500 Received: from mail-yb1-xb42.google.com (mail-yb1-xb42.google.com [IPv6:2607:f8b0:4864:20::b42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90ACCC0613CF for ; Thu, 19 Nov 2020 03:44:37 -0800 (PST) Received: by mail-yb1-xb42.google.com with SMTP id x17so4890570ybr.8 for ; Thu, 19 Nov 2020 03:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benyossef-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=c8Qo3iMTLDXZDQ8LhsVrB4GbG7ddhsHuA42Wrhb4+h0=; b=gh6maHtJeErJOD6UDW2c3CCbf+6ZoSfGn3H+8ciJk7tdtGTboUKsUQLcJZHMyBl7ZA b1+/DztKMtFKcSEblfJ9XDZL12+fIyTo4p6R6PD15BN/1bNpZnFdAHoVGCu9OB+Q4x/H xzMZ6S1ODsNOBBQkv+EZGsTt2pEFMRANM7HfnH9X85lyyCVItmSSRNIQdRgV9bQWTK0/ gIVlRReIhZCA6kK2DYrdKwgUL0BSDlybyDUAgb60bjZNKj0eNV+uhmq/XtksTPeKpRoY pLX/H1qNeFsSB33WIvjrV2zkRLfo6Wiz07rd0rfwfY6Wattimo7gNt73V5Hjd/ZGtBK9 +DtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=c8Qo3iMTLDXZDQ8LhsVrB4GbG7ddhsHuA42Wrhb4+h0=; b=eR+Bm8INTlZ9AoEPoq/Imo1tqopk1d9VAWs/7uK4a/8JKQfbE78M0+v7z+Ch1cz6Y4 daFmdqOHJWqgqRh8geyl9XHe7CMCqD5JxLQ1hxkqfgmnQy9G+8ngwZpTfljuY2DtZsbI jfLcESqXdDgcYED/uPu8Hk7csOn355dR0pajFNCg2+s5wb2GazjzqKmnZ2+A5TeDWiyx w39ITXY7MJ5J3zBN3mT/LEOhjAxoI8LtglZK5e1c/ZxsShsyRp7MQmskDurMllZy0s+V 8Q4Gs1KKiuRAvh0dAK+McY0HhsqI5VIIbMbZNaorDxWD7FeEPZ3sEspLA6rb8dYq9ivV T5Sw== X-Gm-Message-State: AOAM532cwrGmFfXtp6vet92q6ItsqtAQixDcUcvRi11gyXck5rF3zm/O 3H3i31X78rlTN3W6MnSZ3gbD2IERkaMzreojGe3MvQ== X-Received: by 2002:a25:9b44:: with SMTP id u4mr14103602ybo.426.1605786276902; Thu, 19 Nov 2020 03:44:36 -0800 (PST) MIME-Version: 1.0 References: <20200916071950.1493-1-gilad@benyossef.com> <20200916071950.1493-2-gilad@benyossef.com> <20200923015702.GA3676455@bogus> <1450044c-5150-1da2-11e0-2ae48d8b4d0c@arm.com> In-Reply-To: <1450044c-5150-1da2-11e0-2ae48d8b4d0c@arm.com> From: Gilad Ben-Yossef Date: Thu, 19 Nov 2020 13:44:21 +0200 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: crypto: update ccree optional params To: Robin Murphy Cc: Rob Herring , Herbert Xu , "David S. Miller" , Ofir Drang , Linux Crypto Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux kernel mailing list , Steven Price Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi, On Tue, Nov 17, 2020 at 4:07 PM Robin Murphy wrote: > > On 2020-11-16 18:54, Rob Herring wrote: > > On Thu, Oct 22, 2020 at 1:18 AM Gilad Ben-Yossef = wrote: > >> ... > > IMO if this is like PL330 where you just stick some raw AXI attributes > in a register and that's what goes out on transactions then it's not > really part of the platform description anyway, it's just driver policy. > If folks want to tweak the driver's behaviour for secret SoC-specific > performance optimisation, then give them some module parameters or a > sysfs interface. I'm assuming this has to be purely a performance thing, > because I can't see how two different integrations could reasonably > depend on different baseline attributes for correctness, and even if > they did then you'd be able to determine that from the compatible > strings, because they would be different, because those integrations > would be fundamentally *not* compatible with each other. > So, I checked internally where we get this requirement and it seems you are right. I'm dropping the Dt bindings and in fact the ability to customize those attributes beyond the basic coherent/non coherent configuration which we already support and will just update the setting to what we think is best. Thanks for clearing this up. Gilad --=20 Gilad Ben-Yossef Chief Coffee Drinker values of =CE=B2 will give rise to dom!