Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp764961imm; Wed, 20 Jun 2018 06:18:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJoXFL4vmyBuuRu0MlERRv7n6gCxVUvEuwxJOPR088TpSWWqNOl0u2og4p+OvmegbFjdApw X-Received: by 2002:a62:dc98:: with SMTP id c24-v6mr22920039pfl.183.1529500738390; Wed, 20 Jun 2018 06:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529500738; cv=none; d=google.com; s=arc-20160816; b=BONzXCFoqtD99Vjqnv8UtClnqgjLy/MPfJJf9gxVHDmBvLdgy43nONZse46Ffjvart ifIkOt5GsSjCvKt0H2E2FIhRxXe93FUPmbIP6z2NtIbwknLqCfNLSykIxaAMB/ZX7/82 mqUQqMokrywjaVSPF3sPOBJYBKUl6IZdO0Yp1AIHfKLp6MrZP9vts5y2LDCK4LquJxK3 4ZVu6kaqBynyvM8PzOG3MRuQch5e/Krxsj7XY763FDLWzecUMN5AHHBYchfbtskR7L+q 9k/W+IMf/cdK+LlMars7nl52LIjGgyZtDFM6RxOYBUj8x2UreRc8q5yPR7Kh9nKQisGk 4h0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=uoFPIHDhYBkvBXbwskKtdUt0vkStOMWLLvAgMUmI1zU=; b=DWxJ+jAj8l9R12f4Re8YQ7NSHif+yIuPKlSiehG1aBXO2M/WEiHY4Cy/Yra72ZUihR KrGIMa3YjeZ1Jq0PuyE00YjlM1Bls9fh33KRcOs+8NfI/u2WlQinB4oP0sWr1M+vHUm5 WhjdnSrvrzTM13iPLTi8OOc8fJGd/Cr2M7pZIAEYk1n7MBU2X5BKOEOdVB5hbRuJmB95 0Quok/x9S3EOBm+oByfyPzFz5puj7NV+nDwuDi6/zWMbralSjr6wIN9Cd5Md8ud+4gRH /qtihKzKiS6MAxlbPSijLAy4kuWvJQnI6O//6haKsU6XbG2fzXPJp96N3f9NEPzx8puQ jMHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id a26-v6si1909500pgf.557.2018.06.20.06.18.31; Wed, 20 Jun 2018 06:18:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1753644AbeFTNRI (ORCPT + 99 others); Wed, 20 Jun 2018 09:17:08 -0400 Received: from mga04.intel.com ([192.55.52.120]:7972 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751422AbeFTNRH (ORCPT ); Wed, 20 Jun 2018 09:17:07 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2018 06:17:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,247,1526367600"; d="scan'208";a="50488064" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by orsmga007.jf.intel.com with SMTP; 20 Jun 2018 06:17:02 -0700 Received: by lahna (sSMTP sendmail emulation); Wed, 20 Jun 2018 16:17:01 +0300 Date: Wed, 20 Jun 2018 16:17:01 +0300 From: Mika Westerberg To: linux-kernel@vger.kernel.org Cc: Andreas Noever , Michael Jamet , Yehezkel Bernat , Christian Kellner , Mario Limonciello , Lukas Wunner Subject: Re: [PATCH] thunderbolt: Notify userspace when boot_acl is changed Message-ID: <20180620131701.GP2558@lahna.fi.intel.com> References: <20180618144404.21055-1-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180618144404.21055-1-mika.westerberg@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 18, 2018 at 05:44:04PM +0300, Mika Westerberg wrote: > The commit 9aaa3b8b4c56 ("thunderbolt: Add support for preboot ACL") > introduced boot_acl attribute but missed the fact that now userspace > needs to poll the attribute constantly to find out whether it has > changed or not. Fix this by sending notification to the userspace > whenever the boot_acl attribute is changed. > > Fixes: 9aaa3b8b4c56 ("thunderbolt: Add support for preboot ACL") > Reported-by: Christian Kellner > Signed-off-by: Mika Westerberg Applied to thunderbolt.git/fixes.