Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5388052pxu; Thu, 22 Oct 2020 00:25:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuUEYr/5Sj5w7I0aQeGG6OmOgSmofEFkmCGAHFsACc0bIioCqFAhdJalvYD0ihfa1Fue4V X-Received: by 2002:a17:906:6855:: with SMTP id a21mr959112ejs.289.1603351533423; Thu, 22 Oct 2020 00:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603351533; cv=none; d=google.com; s=arc-20160816; b=wCkrVV4QertvHAMO1iQeFI450zdHFmL+7bNGVPPlNlfyMq+ZKEf1TnQRIBvZKpbcXQ N+yfoK4YbTFruhw4ns4M3oERAGG72Zy0E/57VeoXoQWqkSxsiBH5yLsc9MTKlsGQWRh+ xTqNC1+wReZjqPWEoUbQoOz6koOsqKMoLHn88FyI37m+8VqmWI9MNyTpnQnoEd8I0nRd Q2D8HxXx0XuckvlwVQbQspGkm2WRg9wSK5UfMgSzgrwNx7ZfbLQUq4OOQeGXL3vNYsUx 2TePOXk/4NTtWH2TNVJhZsAMxEmLs4+Bx0qOvLMXVzkUrt21KCvRF1VIljfPXlfnu0mw hyVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=D6PfWsQc4jQGgwjSKnADuYEPxuKkTD/H1xb8gUpcO4I=; b=K42MyvkHoCroBBu0XYvTNn0AU8MeaOMZpY17bn+2HqE9EvJCnGKg3ZmIdIGxmyi/mo x8R+uSBjiomYqMvBnG9IEsCshBGAxtM3VkSoqPgu7Zqkca4WEMNuHWkhO5wkySFLmoqJ /epUjUt9SdxX/UK+zn4h6BUT3JMQWpZFXkhs5UCs6vHpMvYU14R+t+dDZ94yL8MdN0v5 kMEh1bkT5XXfEiLY8aHjA35+YYwhPkBgcR0TSPguJ8NGCaQqdJ+mxXRQ095BZxLMC3ba 824fspCHHk2LXEu5tQYf4Pl61f9kmCsJ9kBnoI1F036aScTScq1QKgv7E5lbuzeuBYJd U1Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SdJzXPVl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t17si335726ejs.681.2020.10.22.00.25.11; Thu, 22 Oct 2020 00:25:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@chromium.org header.s=google header.b=SdJzXPVl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2506361AbgJUVlz (ORCPT + 99 others); Wed, 21 Oct 2020 17:41:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2506356AbgJUVlw (ORCPT ); Wed, 21 Oct 2020 17:41:52 -0400 Received: from mail-vk1-xa42.google.com (mail-vk1-xa42.google.com [IPv6:2607:f8b0:4864:20::a42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1865C0613CE for ; Wed, 21 Oct 2020 14:41:50 -0700 (PDT) Received: by mail-vk1-xa42.google.com with SMTP id m195so845785vkh.11 for ; Wed, 21 Oct 2020 14:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D6PfWsQc4jQGgwjSKnADuYEPxuKkTD/H1xb8gUpcO4I=; b=SdJzXPVlZeOfHYLfdG1K451OGXxkVR/1kkFXYgz/MA0PwE+CLW+eMnGo0m1YCLfqAB r7rX1C0tF2eWO9BXOXRtkmFNYh2F4EUCFbWsXb+EekArsDrWUbuOkPNh9aZksP9PHSzH fXHNc+pcZKKW3jsEBolR+ntmybXp5r1iVe1pk= 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; bh=D6PfWsQc4jQGgwjSKnADuYEPxuKkTD/H1xb8gUpcO4I=; b=Dr8XQ3i5AQsaI4ssuOOKMzphatjG7+oNqJTSsWZcVk1CbiDqbAKQbBpVz2ihM6uaVf iCMejviOETcjQJ3xwbuGanmglJSJZ6dmMqCw2oCFeml1A6Dml+x57F83rM4yIRD7xF3W mVc3uVUJ+bfxEFLZK4kGDSU26ejjPaIRoN3cUykmeq3R+Fiv1j4hw6a0r49Ep/CLH7ZC v2SN9NFYhEkFHewEBCRwB7f2IikUXnfPm71AHqfEdRLwndc/FmC37T25WSfLI0dCEjKQ uNVLIOQwwNtcpb0IH5CU5FOcX0LRtEqG96bAW5z47DZucHjpnf2nhVNkJedyDYhBYaKz b8rA== X-Gm-Message-State: AOAM533nnXRYgKAE1DCBYTw7J94aaqnjMV5Rg8dwtLmsiZCnmBUZJ1Zq a2tmipVbg8dLjfboeU87QYhvCfWk4Q/h7g== X-Received: by 2002:a05:6122:804:: with SMTP id 4mr3531971vkj.15.1603316509811; Wed, 21 Oct 2020 14:41:49 -0700 (PDT) Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com. [209.85.217.50]) by smtp.gmail.com with ESMTPSA id c129sm368983vkb.16.2020.10.21.14.41.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Oct 2020 14:41:49 -0700 (PDT) Received: by mail-vs1-f50.google.com with SMTP id h5so1840508vsp.3 for ; Wed, 21 Oct 2020 14:41:49 -0700 (PDT) X-Received: by 2002:a67:b405:: with SMTP id x5mr3759906vsl.4.1603316508776; Wed, 21 Oct 2020 14:41:48 -0700 (PDT) MIME-Version: 1.0 References: <20201016192654.32610-1-evgreen@chromium.org> <20201016122559.v2.4.I1bb1b0e94be3b792804e08831d6a55481e162d63@changeid> In-Reply-To: <20201016122559.v2.4.I1bb1b0e94be3b792804e08831d6a55481e162d63@changeid> From: Doug Anderson Date: Wed, 21 Oct 2020 14:41:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 4/4] nvmem: qfprom: Don't touch certain fuses To: Evan Green Cc: Rob Herring , Bjorn Andersson , Srinivas Kandagatla , Stephen Boyd , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Oct 16, 2020 at 12:27 PM Evan Green wrote: > > Some fuse ranges are protected by the XPU such that the AP cannot > access them. Attempting to do so causes an SError. Use the newly > introduced per-soc compatible string, and the newly introduced > nvmem keepout support to attach the set of regions > we should not access. > > Signed-off-by: Evan Green > --- > > Changes in v2: > - Use new core support in qfprom (Srini) > > drivers/nvmem/qfprom.c | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) Reviewed-by: Douglas Anderson