Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp61830iof; Sun, 5 Jun 2022 21:09:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGvnH9lUJOaR9SkWDKV9ICr4fCQpXV9OUysI+Q7icQGR/mp07jWEFxnSwQ4zzOhwZVVkac X-Received: by 2002:a17:903:258b:b0:163:cf73:c083 with SMTP id jb11-20020a170903258b00b00163cf73c083mr22482235plb.127.1654488574705; Sun, 05 Jun 2022 21:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654488574; cv=none; d=google.com; s=arc-20160816; b=IiJ12HipJ4MPe25KBGxyY86Dx7v8QnHIp5Nghrv4omFQ0JL8ehb8s+5pUf77DmNpNv O/wkzRiKmEPFk5kh+wBQ4hdNZxymNxYLsJA52tEmODOv6cG10Qrp341ohNBw3MFAKt+T oI863dpo8uTl+Snqq1gSgtfGbKHXTHzRbAhyWI/VVC+6VGNT8sWtZXHbaPvg/NLlPLmx lDQ1K4FSUk2d9P6FIin1PMAeoHiebQEJGZ8xdn0vgM/ZfUMSkCEngO+NipBFF56FZT7Y a49fkI/o19c9ljFvKocNslZjVFclsC4zb9XmCu5yCwut8S1FzaunGaAKGGM65rKheEHc N/sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id; bh=Tbug5oxO3w7cfAuT7IR8QZhAMgiDjl8V/t3Gga6ClPU=; b=Lv4luKmFAIHHGC0fhfER1YJiQFGqLIUHevARPFlDcyY9XEFrv9jSvVUocgBUsChDyS pEGK27tglpOgVT+1PI6G8b/unrgXNB4GfGOGZCcUhTmIXwJJMVGdMxvpihDYtOFkL2Qc x3aVRgl4KutqpYduO6nlWDHEWEOdmwrbzvlaetbwzl82crUe8St/HH1PgckzL2L9zlzz +FVSkIWAuYoT3wbVLkjz25ic7o/5X0E/dj+pw+VzuPTrNFLHt2RnWG6yl9dWvzTJM3YA b2OPIznZwVo1y/MMaIFD/AGmaCT0VnVDU2euuxVti3xmQwwLpezMGlnyaxDFH6hFX5B2 lqPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x7-20020a654547000000b003f66d072d69si15751518pgr.452.2022.06.05.21.09.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:09:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 00DD45E14C; Sun, 5 Jun 2022 20:49:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348885AbiFED4D (ORCPT + 99 others); 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-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 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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.