Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5699777rwb; Mon, 14 Nov 2022 08:18:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf4NN+RCfp8yLHcV4A7IB/0SzpDG9b5qvdZOyHkJoaefUrbU05QrEdgY1VvKbEXZaOAFAE7V X-Received: by 2002:a05:6402:1cc4:b0:462:df63:5ec5 with SMTP id ds4-20020a0564021cc400b00462df635ec5mr11769982edb.147.1668442687771; Mon, 14 Nov 2022 08:18:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668442687; cv=none; d=google.com; s=arc-20160816; b=pmtBzMGoTqXAs4/aF48lnc+R1/C/65n1ZJyRwBz5Gy91GNfGSyFNU2wEr8oYgsKgQx vpm0yB5y97XOr72jRKTehoy4axFUjszNMdJfPHH6LD9CUdDxYbAGnyQpIa+6DkDXXfhC QFqZspuy4oXo7SJTuEeEwdvLj/B+l5wVk8609sDr9aMt99bf4Fl3/xL+CqLh7aq3YSrH YTBC/f7sSogQEj5kVYBi2G9j6hdbk/EmLhozxO2BXE+gTZ+jf8RMS+p98X/1YQjk+zfU iaXDfj1Gj0t/u63lzpQiljeu5uSgqliqxqw7VJdSQrqNqFECDCcqeyVPsrqKa1YPluC5 gNfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aZfrPRU7cJWa0FklhcMR2UCGDD460EKBf2AZ+Suhhv0=; b=e7x2mVywqHGIXPyMwBTNIZIQGUWzPnXP6/3PmhdNY/NoB6JU+qMH3t6kTgE1eEAsSV mGvYuDHhpoKFxk9KNVz77IymDyRi4pRmhMPjxud9nqB8mGkVrFYCvbdvWLCWKT1CB69P FwI+dkTA22JqwTfN58fmpX/Ih+aXF6MHQZJ44cM48Swc5MDuuUHA36DwSAdB9MIa13XS RMYBmkLPrOwXpJts7ElBP8emowUfwFl35x5oMo2zazprKGI0avuRstsSUtl0nPmCH0ad VlAe68ld6K714NtsJEj3h31o/tcyn9z+US6oBbCWMCPYWO5dHytGEky8LafduGthFflT xH0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=kh9zAtI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a056402519100b004674aa77346si9765718edd.72.2022.11.14.08.17.45; Mon, 14 Nov 2022 08:18:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=kh9zAtI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237241AbiKNPsC (ORCPT + 87 others); Mon, 14 Nov 2022 10:48:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237224AbiKNPsB (ORCPT ); Mon, 14 Nov 2022 10:48:01 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF42713EB9; Mon, 14 Nov 2022 07:48:00 -0800 (PST) Received: from zn.tnic (p200300ea9733e773329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9733:e773:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 638511EC0391; Mon, 14 Nov 2022 16:47:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1668440879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=aZfrPRU7cJWa0FklhcMR2UCGDD460EKBf2AZ+Suhhv0=; b=kh9zAtI0xHAL3dMgwKRzWDHAwjw6ER+syTn9ug6wcAUCDi7l8ZKFERNwLWsknsJFZNVQ+7 +sxUe2Dg+6qFdrJ6by6hAVmzV+APRc7a3Ni/dXZEEVKmltEcQUs3rvpRaXcwA5ASJv+E4F vSFs1rxW3SW54379QAS1Xc2Sl2QbcjI= Date: Mon, 14 Nov 2022 16:47:55 +0100 From: Borislav Petkov To: Tony Luck Cc: "gregkh@linuxfoundation.org" , Thiago Macieira , "Joseph, Jithu" , "hdegoede@redhat.com" , "markgross@kernel.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "dave.hansen@linux.intel.com" , "x86@kernel.org" , "hpa@zytor.com" , "Raj, Ashok" , "linux-kernel@vger.kernel.org" , "platform-driver-x86@vger.kernel.org" , "patches@lists.linux.dev" , "Shankar, Ravi V" , "Jimenez Gonzalez, Athenas" , "Mehta, Sohil" Subject: Re: [PATCH v2 12/14] platform/x86/intel/ifs: Add current_batch sysfs entry Message-ID: References: <20221021203413.1220137-1-jithu.joseph@intel.com> <20221107225323.2733518-1-jithu.joseph@intel.com> <20221107225323.2733518-13-jithu.joseph@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Mon, Nov 14, 2022 at 07:33:40AM -0800, Tony Luck wrote: > Bug ... $i is a full path here. I think Boris meant: Kinda. I meant: for i in $(ls /lib/firmware/intel/ifs_0/) ... initially. Note the missing glob at the end. This gives the filenames only, without the path. But then I added "*.scan" without testing it. The "*.scan" thing would've been redundant too if we did what I was suggesting... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette