From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CCF5C433EF for ; Sun, 5 Jun 2022 03:56:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348952AbiFED4D (ORCPT ); Sat, 4 Jun 2022 23:56:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348645AbiFED4B (ORCPT ); Sat, 4 Jun 2022 23:56:01 -0400 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD2C4DF55; Sat, 4 Jun 2022 20:55:59 -0700 (PDT) Received: by mail-pg1-f179.google.com with SMTP id r71so10359461pgr.0; Sat, 04 Jun 2022 20:55:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:to:cc:references:content-language:in-reply-to :content-transfer-encoding; bh=Tbug5oxO3w7cfAuT7IR8QZhAMgiDjl8V/t3Gga6ClPU=; b=YArvzNQSpaZwUX5QP4RREYZ9Nn0KtKz93aRQVu+oSU0nPNj5wERJF0i28lFdt0EaNa Lgdw2uopILJwxNYpmgmtI+9f6grJotga7vdXJS9V/r1bnj30SpnlG3WtBIuvd807y9XI 6r5tDsBigpN9zvePus6CgDhH44fOciQ+tBWW7iR/wpw4aPAJVZTHTdBHrBSGghyOCN/c M+8hfDr6QQbyp/fKJESO1ut42hD1+tA43WsAGLPFzR85W0JtlhqWAVSc+M/vaq+ozHwm h00hJsq2uq1jrz4nKinxarYejMNpUn8OLNUFugDaCrI23VgVGvIMvT+vV76Ac0tXuSl5 E72g== X-Gm-Message-State: AOAM530cTgIznba/mhBv90mYFMcQM7/NgetxomVdB8gXFU9pL7ac75+Q ACN6ODD5dFX+OHj102sWfw2G1dz8sdgxUg== X-Google-Smtp-Source: ABdhPJyUEr1UvBCzDHOm4Ja/FtIK0g3b7VToW6poVjtInNEAt77NCCowqvHpEJYfZZKQgJy6H9E8Vg== X-Received: by 2002:a65:4c0c:0:b0:3c1:5bb1:6701 with SMTP id u12-20020a654c0c000000b003c15bb16701mr15508715pgq.136.1654401358976; Sat, 04 Jun 2022 20:55:58 -0700 (PDT) Received: from ?IPV6:2601:647:4000:d7:feaa:14ff:fe9d:6dbd? ([2601:647:4000:d7:feaa:14ff:fe9d:6dbd]) by smtp.gmail.com with ESMTPSA id o19-20020a170903009300b001620db30cd6sm7859615pld.201.2022.06.04.20.55.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 04 Jun 2022 20:55:58 -0700 (PDT) Message-ID: Date: Sat, 4 Jun 2022 20:55:56 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 From: Bart Van Assche Subject: Re: [RESEND PATCH] scsi: ufs: sysfs: support writing boot_lun attr To: Avri Altman , Caleb Connolly , "a5b6@riseup.net" , Alim Akhtar , "James E . J . Bottomley" , "Martin K . Petersen" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: "~postmarketos/upstreaming@lists.sr.ht" <~postmarketos/upstreaming@lists.sr.ht>, "phone-devel@vger.kernel.org" References: <20220525164013.93748-1-a5b6@riseup.net> <8d25171a-5d86-9acc-0f94-1a3c6efdb360@riseup.net> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/1/22 10:05, Avri Altman wrote: > As a design rule, sysfs attribute files should not be used to make > persistent modifications to a device configuration. This rule applies > to all subsystems and ufs is no different. Hmm ... where does that rule come from? I can't find it in Documentation/admin-guide/sysfs-rules.rst. Did I perhaps overlook something? Thanks, Bart.