Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1430356rwb; Wed, 9 Nov 2022 18:15:48 -0800 (PST) X-Google-Smtp-Source: AMsMyM54q4u1jOsPVC/jvC1r0158GsOa03TFlmoM5ppeMwwlS7Quls7B1k21x68FzEPDkwLFpVt9 X-Received: by 2002:a17:902:d2d0:b0:186:9e90:699 with SMTP id n16-20020a170902d2d000b001869e900699mr64175253plc.172.1668046548036; Wed, 09 Nov 2022 18:15:48 -0800 (PST) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a056a0015cb00b0056c7cc1f23fsi21107283pfu.132.2022.11.09.18.15.35; Wed, 09 Nov 2022 18:15:47 -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=@intel.com header.s=Intel header.b=QKxh2VNV; arc=fail (signature failed); 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232235AbiKJBQ6 (ORCPT + 92 others); Wed, 9 Nov 2022 20:16:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232254AbiKJBQ4 (ORCPT ); Wed, 9 Nov 2022 20:16:56 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9159F233AF; Wed, 9 Nov 2022 17:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668043015; x=1699579015; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=9N5cADFGU5Z0Q78hmOf91wE2WPTlH3SyJyOW4VjG2g4=; b=QKxh2VNV7Pfr7iNuSIgdxFeb/XeKvcJ3wlz/+VAXNmRIpAplYV7y3Wou HL5x5kgb491VCRH2tkiEAmJo3fwCd2oEHMEPxXNwsPs0kdQZ40b4Bd4/B LpJpjRFO1TXEm9efERy34YL8y3WDpwS3qjCdaxB6eN9Yn6oJSyHQsCA/h vWYmZUz5Y53nj5ZAH2bOo2YoNHk5AzKzxT72MRAn12s1ezIPxolx7M5YV shTfFQ+b4+EdZWCI1K1q6+PON6XaFaczUg/5QJOuUiQetyF1M+euYBqYq uUFAzQpbG+GKNHRF21uJRjm0xuZjCwxghgG8fulVjU4Jp/6Tlx4qBv6Up g==; X-IronPort-AV: E=McAfee;i="6500,9779,10526"; a="312940720" X-IronPort-AV: E=Sophos;i="5.96,152,1665471600"; d="scan'208";a="312940720" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2022 17:16:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10526"; a="882150660" X-IronPort-AV: E=Sophos;i="5.96,152,1665471600"; d="scan'208";a="882150660" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 09 Nov 2022 17:16:42 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 9 Nov 2022 17:16:41 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 9 Nov 2022 17:16:41 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 9 Nov 2022 17:16:41 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 9 Nov 2022 17:16:41 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GCgtOpb3co3Lr8+WPnpjOY+bWkZaiE8K2TR+EKXcvbA2Cc3yBFMa9OtRE4WZfN3njzhojl3Vtr1hEbGjb/OfyAxD/CXb7mEIdFlg2jq/HMIVWCtWX1NqtigQ1lD8C52go7e/0BmNRe2bGgGLLGb+9sEoTQLPmNmUjdrfRlSnEDvg2hoQJAiZvaLd4pMbvTy7904aWJJVqlypZOYRzSiDZ+JVHhhbo7DOAiEKbyE8xYgi0KuxSC6zYmDcLAnE3DxXo3EoGKfpTwVUyLIUMACntwQuKxkqzdp6xqUdceficG+9MjbiFNz3SoDb55SVUodZ4pcGu7+qAj33COzCi/PiGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y3Ic4OPgX+APgET+GqcMVpyKGlah/wBM9I3Di3Ei850=; b=Ia9d+1JgBzJSIvBp9LKqvFHwiFnIVkrJH5cSVLASVM3hIkfStIXRmJz63LGbWnOpokfbSWfyxbVwB1ZDmcocDTqUJPMtb8jrNoUZsX0WrRcWqL5Pi3nv2UbawyNnsmNiHsBlNBcHfRhKus4/h7dyzdMrdJsxiZE/URgEbw36pdCYBC6QDCEGGpRRcG7ulsyuC0RHmgPZ1uFVWsS5IITZzUQJ5eMYA54P7TmO6ktdrKQR4s6Zih61c8pOlma86bSE0QW3FkJIleRCplXYxra1LbfqOLCv4ThK9RUIUUzJs2DBTLNDsCZFK65vPfCZFumIaXYjl4wpm1EaHJW3+RwtPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from BYAPR11MB3768.namprd11.prod.outlook.com (2603:10b6:a03:fa::20) by PH7PR11MB5820.namprd11.prod.outlook.com (2603:10b6:510:133::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.25; Thu, 10 Nov 2022 01:16:32 +0000 Received: from BYAPR11MB3768.namprd11.prod.outlook.com ([fe80::f980:8dbd:ddf0:11c0]) by BYAPR11MB3768.namprd11.prod.outlook.com ([fe80::f980:8dbd:ddf0:11c0%4]) with mapi id 15.20.5813.013; Thu, 10 Nov 2022 01:16:32 +0000 Message-ID: <382ef16e-5013-c226-2601-309be952f1fe@intel.com> Date: Wed, 9 Nov 2022 17:16:28 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 13/14] Documentation/ABI: Update IFS ABI doc Content-Language: en-US To: Sohil Mehta , , CC: , , , , , , , , , , , , , , References: <20221021203413.1220137-1-jithu.joseph@intel.com> <20221107225323.2733518-1-jithu.joseph@intel.com> <20221107225323.2733518-14-jithu.joseph@intel.com> <503ba3e8-f060-002d-846a-8dec7e84c83b@intel.com> From: "Joseph, Jithu" In-Reply-To: <503ba3e8-f060-002d-846a-8dec7e84c83b@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BYAPR07CA0070.namprd07.prod.outlook.com (2603:10b6:a03:60::47) To BYAPR11MB3768.namprd11.prod.outlook.com (2603:10b6:a03:fa::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR11MB3768:EE_|PH7PR11MB5820:EE_ X-MS-Office365-Filtering-Correlation-Id: ca900b7e-3ae1-4a1e-b820-08dac2b93394 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zad7pm5YOYxSzzQ7/p+3nPhUugN1XwlStq+g44TX4fEGLp5t5Amh6AtjY58KRCwhk0DLJFtDwe+SaXi3zDCIN/sGR5G/IfRM+KYLoPB+8xEcTOBuIOl1VPNxq9yCYNbrHVVx/h2cbLZf7+QuHYDZjTpLUmquddaSObyPfG78FH1YxeKms7PAeNgpbCXs+DNU3B/vSxInCuH6ekNkPtppPYw4inh74/j4yjDV8XqvGK+p8aQo46FcBhN3ByzSteGpJEXkfQIfzynO2hQgK6NbJ4hVmcwgDFXDSSTr5cNM0zgR4huF/30KWf/D3YoUNLThL+m2thYL8lo69PaAUNHvcO5qCTfgG14mKHGM0YUez6xdRDiXhkIHzNw5r3LlFVTEdJ+Y16JJwsAdxmTwHIyTxj2EI6DxDD3FBMIRQUJAh90+RgbFn8DpZRvoK4y9tInzt/rUqBPRxBp5Hy/cxP5Iq7bX/LlWMu87Uxxc9Mug3PA1DihG2RIQQhsrsExKBrZhxaejFwWYoP4jivrjF1GrNn/mRFZV3RuqXLKu2oc6PL4IBeteNoOkhaWXx8VXcn/178m7zBiIZ7WumQwoC76ojJT2l66UrzFlMU4jMceK/0XZXFdzqQndkY9wEs5DiqXDdLCYuO77zMBTTarQnIgrEPJ7MfgAogxAAudHTuIBDH2mDoaPnkWVu7fUJ+Itv5b5CS0UmLWXgceFY3rIKdbvxH7/6/TDkQdZA4GH+wABOmDXRwOEKlG6afvoEJ2s8Y4e/PHaT4QJhhq4dGnQMOXpFqNddAJxF1mbh8sKQ5oOe+w= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3768.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(366004)(396003)(346002)(136003)(376002)(39860400002)(451199015)(5660300002)(8936002)(31686004)(7416002)(2906002)(41300700001)(8676002)(66556008)(6666004)(66476007)(66946007)(4326008)(6506007)(26005)(86362001)(36756003)(316002)(478600001)(6486002)(83380400001)(2616005)(6512007)(53546011)(186003)(31696002)(38100700002)(82960400001)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WDZ6aFhCM0NBckViNytjVmhqWVdDS2xQT3FxSyt2RitGSlJPdTVLWDg3RmZN?= =?utf-8?B?dVpMREZyL3RYeW9GSEpPYjZFL3VGSlZRb2lJTDk0YWllbVBKaHBQWm5maWgz?= =?utf-8?B?REtUbFhhYU03bUtYSm03M3ZqNmVhZ1Qrc2J3UDNZbEZHQUdFN2tHSjZXS3B0?= =?utf-8?B?VFBSMFEzcDFadVJYKzk4WmpsNnNic2xHTFJidmd1TzI5WW5SUmxCYW5VUEZK?= =?utf-8?B?dllxV1NaVDJwTkVKWXQyNUlpQ2VjTUN5QkJ6Q1JicDBxb05ORWNTNGxFcUxS?= =?utf-8?B?L1llVGVmbjI0MUVsTUI2ZXNhQjg2bFhtQ2oyRDFQc1ZWRmhQd0JkOFNDd0pm?= =?utf-8?B?bWxqVGlJRVg4N2lBL0taQVlTR3FOWFgrRkptUVNpclp6UEVUZnJBOFljSWFR?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e-3ae1-4a1e-b820-08dac2b93394 X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3768.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2022 01:16:32.0375 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0sBhr7JV7neDt50fmVfB7gbob1Vk19RB39Rtzi5pygLFYRxdNb0+ktmtb9awfBo6NXsQvv01ru7pYNDlIqGDZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5820 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 11/9/2022 3:55 PM, Sohil Mehta wrote: > > A clarification below. > >>   -What:        /sys/devices/virtual/misc/intel_ifs_/reload >> -Date:        April 21 2022 >> -KernelVersion:    5.19 >> +What:        /sys/devices/virtual/misc/intel_ifs_/current_batch >> +Date:        Sept 30 2022 >> +KernelVersion:    6.2 >>   Contact:    "Jithu Joseph" >> -Description:    Write "1" (or "y" or "Y") to reload the IFS image from >> -        /lib/firmware/intel/ifs/ff-mm-ss.scan. >> +Description:    Write a number less than or equal to 0xff to load an IFS test image. > > Can the number start from 0 or is it expected to start from 1? It might be useful to mention that if there is a constraint. The driver currently doesn't do any enforcement on if the input starts at 0 / 1. If user writes 0 and if the corresponding file it looks for (ff-mm-ss-00.) is present, it would load it otherwise it would return error-code ENOENT (returned by request_firmware_direct()) > >> +        The number written treated as the 2 digit suffix in the following file name: >> +        /lib/firmware/intel/ifs_/ff-mm-ss-02x.scan >> +        Reading the file will provide the suffix of the currently loaded IFS test image. Jithu