Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp561511pxb; Thu, 30 Sep 2021 11:52:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4S+1uDs3JnApGOkTmIyJJMBRPq5GzLRjM2PqBI3DlGgXzgLiYwIE9F5k+ZvAIcKUvIamf X-Received: by 2002:a63:5c51:: with SMTP id n17mr6331125pgm.376.1633027950158; Thu, 30 Sep 2021 11:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633027950; cv=none; d=google.com; s=arc-20160816; b=IW7KOXkJYJO50Xp8kSRSBcPuMF0gvNV39FHMqdNKfDeIftYVMFV5rYQ3t3B6nkJZWJ LuUMqB4LpX7O2sfOVgYlHxVd7LFLjFKVYsUYiOFHS0evJkgN5Al83eo2N3wzUlftmOoY 3mLyJOVIpc5J6/Bxj45bLf4LCJxRQ3BvpG+GDtvm+KgdACLqirO+eL7bLq2I4N88sfkW ILaLvXx3ZzMIJK9DNz5a4ok8ArkJSVlKpRVUu6UjzMXXX5sC5cTvvG9rjrUgGZMt62uC Te8iJIKURexcSvM2tfiR8axw8Ez3oeUXEuWy0ztvOTaS2izLi2h+c/EvqzRLnoOaXfPa FBCA== 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=Jx2U1fXVMAX8YVJnygiZPmNCKOQJD2Hj7BS/kMAYEgs=; b=Equ8bzv6VPOrSozNsW1W6Vxrx2dROzYKUpx0slXCXqx0Y5Fm198oWZoC/rLt2zMiYK +3fAX/VN5mlwEP3YMKH7vuLqtTM7OZFAIXyhIKhl6P8IuvZJUiQOVQEihbGYOGB0GQ2u OjK48dAU82x+iYXUgqIFFWRBT4nTTiSVKf9fLO/xg0jHapZLZjDDaO7TWoyQRBNSMb16 15FSQokXNjCtgAABniNNShXvOSwHt3vLlG+a6XR83/5biAdRnKiDAaKDlKgIbSuXo3ub 4usf3SCgFy8drQ97rBN6Z1fA8AIouspSbeARqa8kZuueAkADnleXOGQ3TkMNO3HAdkoG mxrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b=agBAaxvE; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si4358316pjg.107.2021.09.30.11.52.15; Thu, 30 Sep 2021 11:52:30 -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=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b=agBAaxvE; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245390AbhI3Paa (ORCPT + 99 others); Thu, 30 Sep 2021 11:30:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245004AbhI3Pa3 (ORCPT ); Thu, 30 Sep 2021 11:30:29 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14859C06176C for ; Thu, 30 Sep 2021 08:28:47 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id d13-20020a17090ad3cd00b0019e746f7bd4so7058291pjw.0 for ; Thu, 30 Sep 2021 08:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Jx2U1fXVMAX8YVJnygiZPmNCKOQJD2Hj7BS/kMAYEgs=; b=agBAaxvELaCg38+3MxkDJ5W3WTSUor6hjrK6UKjt7TpCZZuOPc7FM6IKQBxSyoc52K ilxpSY9wGu5Gckh+Y8wN93EqxSZzaoJx/7UfSc/o94BA/avp/+GptpxHQJdaTadAAjUO dApT93yF6zsQdX+lxSSJHyhabVLKYswM5ji7mIpRt06U+F8zgITyyWPHLuyJeCwWWRGN Y15ffW0I+FZnbmTTtme+SdoYeyiWGTduhyGuvTThXHcvhLrxiSGC2HEm/q23MDFOHhgq oCJmcf19GZOambHRb3p397D+7b6T+d8k74DqQhG9jcverKvnrcGX3TISXhAdq6YTGeUa BG6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Jx2U1fXVMAX8YVJnygiZPmNCKOQJD2Hj7BS/kMAYEgs=; b=o5FRr8mmt/AAcuG7b5l9X7xke5Ix7SgkivKFKU7QmQYc8q042Gb/XOBklLcAR/JEbc iscwxxVfi0UG+i8nA8wdGM/X6P66o00/SrqodlcWUODsqy6RrQ44Lkl4piyUhjp5LOi2 Fcaq+D6A4KKtDgFkrY2AeDzxW/gSi/urTi5X2moqNcaZKzS95Y3HvjlkfMHm/3XS4syU M+hXNpjzaAUTurE6HUU+ZTkENL13Uwzrq2CQkiHlaM+RjhV5avoL0F6UrN16kORUPRk+ BCblHmwXCc3rxWSHz8/7ZVEIjFcgV9+s22sARqLgIRbdlw194pq1z6ZxadjnHZzP3otO TIgw== X-Gm-Message-State: AOAM531hNU9mEqq7e3mO+vxOsJjMbccq4haIf4eadPgJaXw5l914vTl/ 67iqWZsa5NfQEZuVXN6ggyfIAzFGDzztNuZUa0wOCg== X-Received: by 2002:a17:90a:d686:: with SMTP id x6mr13753493pju.8.1633015726357; Thu, 30 Sep 2021 08:28:46 -0700 (PDT) MIME-Version: 1.0 References: <20210930010511.3387967-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210930010511.3387967-2-sathyanarayanan.kuppuswamy@linux.intel.com> In-Reply-To: From: Dan Williams Date: Thu, 30 Sep 2021 08:28:36 -0700 Message-ID: Subject: Re: [PATCH v2 1/6] driver core: Move the "authorized" attribute from USB/Thunderbolt to core To: Yehezkel Bernat Cc: Kuppuswamy Sathyanarayanan , Greg Kroah-Hartman , Borislav Petkov , X86 ML , Bjorn Helgaas , Thomas Gleixner , Ingo Molnar , Andreas Noever , "Michael S . Tsirkin" , Michael Jamet , "Rafael J . Wysocki" , Mika Westerberg , Jonathan Corbet , Jason Wang , Andi Kleen , Kuppuswamy Sathyanarayanan , LKML , Linux PCI , USB list , virtualization@lists.linux-foundation.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 30, 2021 at 4:20 AM Yehezkel Bernat wrote: > > On Thu, Sep 30, 2021 at 4:05 AM Kuppuswamy Sathyanarayanan > wrote: > > > > no functional > > changes other than value 2 being not visible to the user. > > > > Are we sure we don't break any user-facing tool with it? Tools might use this to > "remember" how the device was authorized this time. That's why it was highlighted in the changelog. Hopefully a Thunderbolt developer can confirm if it is a non-issue. Documentation/ABI/testing/sysfs-bus-thunderbolt does not seem to answer this question about whether authorized_show and authorized_store need to be symmetric.