Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B41EEC433F5 for ; Fri, 10 Sep 2021 02:34:15 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5248D610C7 for ; Fri, 10 Sep 2021 02:34:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5248D610C7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4H5Kh466dgz2ynw for ; Fri, 10 Sep 2021 12:34:12 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=codeconstruct.com.au (client-ip=203.29.241.158; helo=codeconstruct.com.au; envelope-from=jk@codeconstruct.com.au; receiver=) Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4H5KgY5K6zz2xtb for ; Fri, 10 Sep 2021 12:33:45 +1000 (AEST) Received: from pecola.lan (unknown [159.196.93.152]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 8168E20164; Fri, 10 Sep 2021 10:33:42 +0800 (AWST) Message-ID: <71375410db4f03bd19c820f97f3a23418b56ecc0.camel@codeconstruct.com.au> Subject: Re: [PATCH RFC] Specifying default-disabled devices From: Jeremy Kerr To: Zev Weiss , "openbmc@lists.ozlabs.org" Date: Fri, 10 Sep 2021 10:33:42 +0800 In-Reply-To: <20210910022433.GD17315@packtop> References: <20210910022433.GD17315@packtop> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , Eddie James Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Hi Zev, > I'd like to hear people's thoughts on how to approach specifying that > a device is present, but should be left alone by default. Sounds good! > The other alternative I've considered (though not actually implemented > thus far) is to start using the "reserved" status value defined in the > device-tree spec (section 2.3.4, [0]) to mean this I'd prefer this approach - it seems quite neat, and means we can keep the hardware definitions together. Do you have thoughts about how you'd then un- and re-reserve the device? Cheers, Jeremy