Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp312339ybm; Thu, 28 May 2020 03:29:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBlT6IC9Yx76sXn/Gko2ZD1xTolHIQV8lsfOWVLQyr0U4mvOP5CRDRp5+TY5YdDH1ifiry X-Received: by 2002:a17:906:ae8f:: with SMTP id md15mr2268274ejb.149.1590661745338; Thu, 28 May 2020 03:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590661745; cv=none; d=google.com; s=arc-20160816; b=QOt9E+17pXSGRMJYlcFm8TX3NWQOHRg/HzGODPYU629nQs09x/Sg84RRGvGMqzquFj f2jSBxPC0y2+j0Z2VIPnH3py2ncd6VbqSqmJgjMQjn/ZLgMZi1wiqINg8sfYFpt5EldY e/ZnGrKX9iYLy9ckddxbz+R/vgKGdDroWeogqiUy8kqJwWvh5Bri5K6ImPuSokLSJPfm cYznvDg+o/lR/NHjZ6q+gHnMy//uvLd/0+U9B+wWN04uWSWkubsVYK/SBR0l9B7tzrXO nnPd70nky3c+c1Z954vNesuHXBTFpInhbZg4TzvZX0P29QR/lk3TyqHN6qrULEyrJs3D 5Tnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=eWTuyT9GJPdYF30yoLWOrL96hGOIGbG8Nozzy1IRMKM=; b=QjQfLiz51na+TQphN8zDzS5kJasfAz2Xbdw7yiiV1m11JIyC7yVEs8QvcbrTUWws8R e5Yuyw8U8D2KT9XFvuN2RudlNLEEw2/iAqboevl73EjPkJMnw8FPloSiPmXCWMjaUlNF WRRVNVtAyEvXc8HtiekqsJ6ig5D3AKYeB6freLn5USki1ik+GuYLv4tjijZwIIUuEStA GYQlWvt8pGlVjRMQ//1PnoxawNPzNugYzGcKorSFkYdpZsGAvkKYJykBStrkQbApvyNp UofFrdlTiuheabKBCtKALK5JPCPv9Wyti3HgNB8wzWwZTF3gF1FooZM4499/3UO4pGxi DHjw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n18si3853279ejz.424.2020.05.28.03.28.41; Thu, 28 May 2020 03:29:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387869AbgE1K0O (ORCPT + 99 others); Thu, 28 May 2020 06:26:14 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:41739 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387758AbgE1K0K (ORCPT ); Thu, 28 May 2020 06:26:10 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MpDRp-1jE1Rp3PpP-00qnDC for ; Thu, 28 May 2020 12:26:07 +0200 Received: by mail-qt1-f181.google.com with SMTP id j32so6809790qte.10 for ; Thu, 28 May 2020 03:26:06 -0700 (PDT) X-Gm-Message-State: AOAM532hXxlaVmdkWdMRmG+6TNUk/HiP+d2I1ZrKDFk+nKA67Sl0oxhM dl+DdCUnULdTAPGpW7wf7zTqtq7E87pTj/fXpZo= X-Received: by 2002:ac8:691:: with SMTP id f17mr2257635qth.204.1590661565700; Thu, 28 May 2020 03:26:05 -0700 (PDT) MIME-Version: 1.0 References: <20200527112608.3886105-1-anders.roxell@linaro.org> <20200527112608.3886105-2-anders.roxell@linaro.org> In-Reply-To: From: Arnd Bergmann Date: Thu, 28 May 2020 12:25:49 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/5] power: vexpress: add suppress_bind_attrs to true To: Rob Herring Cc: Anders Roxell , SoC Team , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" , Linus Walleij Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:s89PGBfFbpivKvIclG9aePUmjQFOUcAHrSdHPfLJ4svnNplAO6M 3FPS/RtYwqByhuVefiN4eF19nwPC4fJEC/txMpewFQHBOp+kufQnJCaLMCLMbe+GGqcwRcM CS7cQn6jAyrL6KlhDA8bqF3K2KAGrM77dfTGq9wpdS6erhezQ9HDrD7OHz3iWk5728aCJF5 O8YJy5NcnD+B2jl9+5nig== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+fQvlHe5zmI=:vJeEuznbvEshnp5WJK5Qti TG7VncQOje12ZUFtiN2LWiVsiG9yhDjSEbroA5k9b6GPW5zh2cOMemcRjvwTuBHhclFfDPI6x p6BPPIpb81rmfaGywBExln/WQ7rWySEBU/7RMTyJ7yq2cFs/kPweawo1a4tD2LqDjuaThk8wC eNVltnQhdAyjju8PCZQLEk+RmXa8tqVg3qXZU98GTv9TykjhZ1Y0QF1RCQkmAkOETY4ATKnHi bK2KPKXotaJUf0DxlPInkV3TECSi9/G6Q39aRgKJQH8xFuVIoECLBX115YYvgNOKDc2AxeAi9 VdN2DJtnl3HlA7v9OVhDcdUEGB3d3lRYCr5YtHjiy6mlUaaqMoFzSj5bVlB1MZzeqxcajd0jr xhNY66+sg6uEFHEAgctUqNuKggvBAOZfsxez0hkRm7jTbzN9UKwQMZ7kkRZuql+tem3rTlGk1 qtOUs/4Rb7+FfYjTJmRpBxKOnK3Zs5rRlPuKHEJAqeUGIBIh3UQ3BBkyKTbhZwpDdpU4m7K1o xBOaZEMCgtuSK+Y28M1DvYYWGqtHkdKU0xuKJjahBA6ldQSIuR4qhIbVwYo+pvhC5RH6JWkBK MFog9kvdXeT2w/ug6g9saQZt8f/moFatkEkATCB8qMYeLg1wlKzB4gDeVKfUcyuwlAqGwk1Kc EpEOno5ppPLkZjN8iWYrfQEHBNYnjtKytCGcsYd2PmE/HgzKlDKxbOZn6BP8xrD2kR/qkPUVu 2z7Yk3FVbmab+mT2EQqo6J6sHpwESn3TLWSCtDEFdWSGBi/ewae0SrKtDceOk6VMe7c+R3t/H SX5dbG6Pfg1jU+VmC3iwH+Q1PKr1nGXPwXA6WQwHfE0bfOWGgI= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 27, 2020 at 3:27 PM Rob Herring wrote: > > On Wed, May 27, 2020 at 5:26 AM Anders Roxell wrote: > > > > Make sure that the POWER_RESET_VEXPRESS driver won't have bind/unbind > > attributes available via the sysfs, so lets be explicit here and use > > ".suppress_bind_attrs = true" to prevent userspace from doing something > > silly. > > This doesn't really make sense if we're going to make this a module. > Module unloading and unbind introduce the same requirements of > cleaning up (undoing whatever probe did). I still want this change as a separate patch so we can backport it to stable kernels for correctness. Also, as long as we don't have a working (and tested) .remove callback, we can only allow making the driver a loadable module but not also allowing the module to be removed. Arnd