Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4059293rwd; Tue, 23 May 2023 02:27:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7AcjFfSO6x9Rzf9VYa+D7vnnLkInYAPJevmGOrsTdJSgax0oA8RcYIHz79OjbFKmesSZHn X-Received: by 2002:a05:6a00:244a:b0:645:fc7b:63db with SMTP id d10-20020a056a00244a00b00645fc7b63dbmr16802016pfj.20.1684834028436; Tue, 23 May 2023 02:27:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684834028; cv=none; d=google.com; s=arc-20160816; b=WY7m4MAzs4Zzqxwyi5MhKQcirlZkKXs6dZstG5Ks4jSElrsF+tJjrK+2tmj5wN5CLj GMwCr2a5VmSHBdPinXD2Mc83epPOdEzmq+m74oilfAout00v3z4YA7J1mkP2Oy2hI4sG aqR3ekcJd4dcS7lRnu5g/4IExq5wk7Ib8ZGoHB+i4bSZYSuE96cTtlK3UIJ7fN1fQSfF 28CXUhnTg+FYVjztNbgV8C2JIRewu0wjdFiNruu4yFuszc2nc1Ljx+Twn0lMGSHKDhsd rlS5/P4po7Oh+Lo84BpR5jhUP0JREk6gK1/x0+CYcgze1HkE/4iniMKq99avpMKo8PrY 8ZZw== 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=pk8OMJU/i+DL9domkx1SxECiIr/Cw8hUh9Jh7kwNm3g=; b=1JkWD27gFHj7DA9Wgk/lER8ILGbKZaMgrp1azTLh8RAYe5kPZiN3WYDAFQXW0VTqPV /LBt0MJCXPrL7uTz2KCe4knvfk6btrtAeRnpZGC6MNaGSmwe6IFIonS8zql62W26vPl6 c+Q4kTX+jGP/BE2KHkpMqzh/x/wPVCFkO4llk2XlENCHjSDIaW86yiZ3XRSFu77GZb2R s4Ta8/8TUOxlmTfLOuo18f/0o7T65Y7rXR7mVbURS3uq+aADH5m4GtCnXYEnJV8zFUJm KdCEWlSOTMFL7AWD57aePrOXkBk92QbicyuGIRYTjOoocG09HnHWYHiYkPEG1w6+E/aL tEwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=Bdx1POUA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a633504000000b0053ef540804esi496375pga.149.2023.05.23.02.26.54; Tue, 23 May 2023 02:27:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=Bdx1POUA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236351AbjEWJSS (ORCPT + 99 others); Tue, 23 May 2023 05:18:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236342AbjEWJSI (ORCPT ); Tue, 23 May 2023 05:18:08 -0400 Received: from mail-vk1-xa36.google.com (mail-vk1-xa36.google.com [IPv6:2607:f8b0:4864:20::a36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F8E11B5 for ; Tue, 23 May 2023 02:17:51 -0700 (PDT) Received: by mail-vk1-xa36.google.com with SMTP id 71dfb90a1353d-4573697b2cdso838406e0c.3 for ; Tue, 23 May 2023 02:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1684833470; x=1687425470; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pk8OMJU/i+DL9domkx1SxECiIr/Cw8hUh9Jh7kwNm3g=; b=Bdx1POUAqFJkjBgUi/GS0mdhya6BUMSBtxOpkjIYslelvZMDyOxdXjpHp6KFSmNEva DoOqH5YE55cxw/OsjFJJBF7wk+RyoXA8VtxHSZvBNTT0mSO8EX9QoDi84yUx7KqeYkWM oqiwIFlMfqGgdQYrLVnv/dQdV1Exbu+tyWFoImqXR8cukKC/BBLWaXTz+7CeDZc5dyUO mv7Iigd20c11CjpzH0Rhi20M4szWE9i55a9Z3Y0CGMM6wTnhtwEoBPSPVTp1v1eRPpOD jaQYgGUuWkjbZD8Ehm6yhyBOBpTB0prxNiEUCIpa25Ccs88q+Ero7ifnfv/B6SOMwhQ2 e/aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684833470; x=1687425470; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pk8OMJU/i+DL9domkx1SxECiIr/Cw8hUh9Jh7kwNm3g=; b=XIZKvcwUg9gcX9/FJokrnTuIKQ8oesWH93j1EoohN4Q01FgWCPdzx201ZLwlyOeuCy obHujvciXlfNrloN9nGQ1Y7tMVJpPBnPPEpq+tvrHxlAvpcLj/50z2W9hW4oJSSMgADV ZTSR6Km4UcnQxjNREbbaC+I2oNLc+a0TWpfgb4a5X39A+lUkIHJnT5MT+7zlNHeUSOEg yPrursKAPt9OnjgVVb7Z5YqppFtyXubH17lf8c1/grM0AF9SqkaTPeQW1PuGQSFC26QD TINtIAEpN+mGBj7r1XOqAe/cx/2OH2FuJHsyR9EqRwNFXCzVt0+VDUL85BuZO77gE72s pBlg== X-Gm-Message-State: AC+VfDwgVi1LrmIuM85PaiEnnLzj3tqSjJDxyDm7EnAJLd+K8myW/+We OaWhG830TPMcQaL0hTk3bJidYSOojmgBVquBGlZYfA== X-Received: by 2002:a05:6102:2f4:b0:437:e5d1:a0e0 with SMTP id j20-20020a05610202f400b00437e5d1a0e0mr3647966vsj.19.1684833470145; Tue, 23 May 2023 02:17:50 -0700 (PDT) MIME-Version: 1.0 References: <20221007055936.5446-1-pshete@nvidia.com> <1de5b7fb-a39e-183a-1407-7d6489f706b4@nvidia.com> In-Reply-To: <1de5b7fb-a39e-183a-1407-7d6489f706b4@nvidia.com> From: Bartosz Golaszewski Date: Tue, 23 May 2023 11:17:39 +0200 Message-ID: Subject: Re: [PATCH v3] gpio: tegra186: Check GPIO pin permission before access. To: Jon Hunter Cc: Linus Walleij , Prathamesh Shete , thierry.reding@gmail.com, bgolaszewski@baylibre.com, linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, smangipudi@nvidia.com, kyarlagadda@nvidia.com, Manish Bhardwaj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 23, 2023 at 8:22=E2=80=AFAM Jon Hunter w= rote: > > > On 17/10/2022 10:31, Linus Walleij wrote: > > On Fri, Oct 7, 2022 at 7:59 AM Prathamesh Shete wro= te: > > > >> This change checks if we have the necessary permission to > >> access the GPIO. For devices that have support for virtualisation > >> we need to check both the TEGRA186_GPIO_VM_REG and the > >> TEGRA186_GPIO_SCR_REG registers. For device that do not have > >> virtualisation support for GPIOs we only need to check the > >> TEGRA186_GPIO_SCR_REG register. > >> > >> Signed-off-by: Manish Bhardwaj > >> Signed-off-by: Prathamesh Shete > > > > Very nice patch! > > Reviewed-by: Linus Walleij > > > I did not see this anywhere in the mainline/next. However, I also > noticed that we don't have the correct email address for Bartosz (again). > I have only ever changed my address in MAINTAINERS once, so "again" is not really the right term. And scripts/get_maintainer.pl should be used anyway every time when submitting patches. > Bartosz, let me know if you can pick this up? Thierry also ack'ed > previously for Tegra too. > > FWIW ... > > Acked-by: Jon Hunter > This doesn't apply to v6.4-rc1. Prathmesh: could you rebase and resend? Bart > Thanks > Jon > > -- > nvpublic