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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24068C433EF for ; Mon, 15 Nov 2021 00:28:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E834B61183 for ; Mon, 15 Nov 2021 00:28:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231342AbhKOAap (ORCPT ); Sun, 14 Nov 2021 19:30:45 -0500 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:37813 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbhKOAaO (ORCPT ); Sun, 14 Nov 2021 19:30:14 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 584C42B0124F; Sun, 14 Nov 2021 19:27:19 -0500 (EST) Received: from imap43 ([10.202.2.93]) by compute4.internal (MEProxy); Sun, 14 Nov 2021 19:27:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=mkjJ4Y/pteRNeSPhoh6wdSUlB0Vt8cF uTD9VcATUOEs=; b=naSStiP/3c2eGHVTWTXAvdPaFC55Ueu//Ntac+HOsU5xGn7 El9G3ESUPI777by+gnfb8fecgcmUTOOchltcJElbL1din5HFGDl+RVVMuBby13FJ dtkx6ARt2bGaGNsIa/YQl+nxxiRTC9sA5QCdYOBjdb4xon8YektHed7ujFrEqk6B kwlgSvAX5U6yvjVw+UYEI5ylsuKVKqSleWP1CyZFPVFBLKANGMvDm6UJzW9pEWYp iGvv2iM8YlgUIoLu51kuYyiiLv3ZvakyrvOs/BxWctSHL+YxZsCU6zVuPctdDlmt rNMRI7/khFwInWIL4JbCv/DTJvHJQ7jlveIGoFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=mkjJ4Y /pteRNeSPhoh6wdSUlB0Vt8cFuTD9VcATUOEs=; b=EvxFmVa4SJYIdwcnZlg9dw RP0/MfGG0yRCJvFZ0TKe8F+9oIwpnLyJBA0+ruSooXxCM9UY7KOaBR0SRF2A+gtX aHuhcAvb5kCe5eSI5aoCHopOs5r3E5fSxnJD/P4qK09+d6en86fsir/yNWhoQ1mg /f+AdBQlBmUb3L6vJtqVGSJubNwMUr3KBvHOEyZlcKiFN/cc0hd0einMaalxqDPO Xnmswu06Wg1xjOOaQLnE0tzqNwy6VO7lA3REQXIB6heOrkzL2z4DQwnLLUjBwG9C OP7SiUE3f2XUGfVLVQJevs1APm/Xe7tSPWGkRbDPeswiHBXLfEcgY+rTPRwo+tUA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrvdekgddvvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehnughr vgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucggtffrrg htthgvrhhnpeehhfefkefgkeduveehffehieehudejfeejveejfedugfefuedtuedvhefh veeuffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvfiesrghjrdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 00E63AC0DD1; Sun, 14 Nov 2021 19:27:17 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1371-g2296cc3491-fm-20211109.003-g2296cc34 Mime-Version: 1.0 Message-Id: <65620ec1-94fb-48f7-a8f8-8e9f409b0fc8@www.fastmail.com> In-Reply-To: <20211113002948.GE14774@packtop> References: <20211112202931.2379145-1-anoo@linux.ibm.com> <20211113002948.GE14774@packtop> Date: Mon, 15 Nov 2021 10:56:33 +1030 From: "Andrew Jeffery" To: "Zev Weiss" , "Adriana Kobylak" Cc: "Russell King" , "Joel Stanley" , "Olof Johansson" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "Bruce Mitchell" , "openbmc@lists.ozlabs.org" , "Adriana Kobylak" , "Eddie James" , "George Liu" Subject: Re: [PATCH] ARM: configs: aspeed: Add support for USB flash drives Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 13 Nov 2021, at 10:59, Zev Weiss wrote: > On Fri, Nov 12, 2021 at 12:29:31PM PST, Adriana Kobylak wrote: >>From: Adriana Kobylak >> >>Add support to detect USB flash drives and create the /dev/sd* devices. >>Also add support for vfat to support USB drives formatted as FAT32. >>This support will be used to enable firmware updates via USB flash >>drives where the firmware image is stored in the USB drive and it's >>plugged into the BMC USB port. >> > > Hmm, how common is it for BMCs to have a USB port? Perhaps it's more so > than I realize, but at least in my (admittedly somewhat limited) > experience I've yet to encounter one that does, so I'm wondering how > appropriate these options are for the aspeed-g5 defconfig if they might > just end up as a bunch of code that's never executed on most BMCs. The intent with the Aspeed defconfigs was to enable options that provide a broad coverage of features used by e.g. upstream OpenBMC systems. This aids kernel maintenance for OpenBMC. The platform configuration in OpenBMC should provide a kernel config that only enables options relevant to that specific platform. With this in mind I think it's fine that USB support is enabled in the defconfigs. Andrew