Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp634773lqb; Wed, 29 May 2024 06:30:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmRE9mHgzvOxpVDd2KsccVhVN2D0yMDdxHT3HjINUJEPs/9FgGn/tJB2ZrYHxCfSrhxfA54yFb3HQYeOVQT+IyJeq6Jcp4xKW1x1JS0g== X-Google-Smtp-Source: AGHT+IE9d8oPHEIefKp0utTYMoBIo9yOKOmqdYezTsHSJJImTwB13N6DLbR2FxdNtt3+MbZemErI X-Received: by 2002:a05:6512:203c:b0:52b:27bf:4b24 with SMTP id 2adb3069b0e04-52b27bf4c77mr818239e87.52.1716989456313; Wed, 29 May 2024 06:30:56 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-579c37b6bc9si4657749a12.378.2024.05.29.06.30.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 06:30:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194159-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fGv6baDj; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-194159-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194159-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D857A1F2647B for ; Wed, 29 May 2024 13:30:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A67814012; Wed, 29 May 2024 13:30:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="fGv6baDj" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 852C34C70; Wed, 29 May 2024 13:30:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.10 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716989447; cv=fail; b=rQf3kq+OaBQ+mbkrcVzBGptMfguXsGbGjx+JvrrB5thpG1N2MS5g/uTejwXl9xbmcDoiVL1n66vbftVPikaew0K0HxOoGuikyoK6KaN0Iq1l8kqC2kH6gPXJfQXICZLnoclj+liC9Sm8PRJsgTa6HY1BUIs77CZhGlHTz0c97YI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716989447; c=relaxed/simple; bh=YN04JHtdlKGY3bT5s1D7vRYp028VFpUCDhUsrzxZnd0=; h=Date:From:To:CC:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=JP11sw+KvxGdi2EP9lNGSVmIcA72mJnHf52bjHKWokqfKmKtIspVFIMdOUf6ZPo5Ahuf9W1UYajK/ZkvFBqUEtzT8J4xu9cT9p49Zc/PcwIVlZk5RbSmbxj0K6mQcDFD6yPWmWArpE6CzvfbNnxnL49AkgiJhRH+aN4VS3LuRnk= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=fGv6baDj; arc=fail smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716989446; x=1748525446; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=YN04JHtdlKGY3bT5s1D7vRYp028VFpUCDhUsrzxZnd0=; b=fGv6baDj/l+f921Q7ykU/SDTrGWCSxQGnc+xz7A6auorTrzn6nj4g4gI G1lDvqmiCQAC0k2I4FxUr7Pxrfy/entfLp4cR3Mzhwlz+XRZC7S39SMhT atABHqhBrOEv7NQpTRn04iq62v7F1a79IhVffZioaE8Jmhglko9r3ooMp AhGrh3EAxag8xf2aGzHzgrPKhiJp767/rflL4mXMatUgOSiQkczyIXM+C cCUY4ftzyQV0aKmODiztRAz7oOvU+QJwLdVMUIp8WwVgT9/J0j0cDeSNV WJPaZ4KRzAA+zNl6TGC5fukMvWMac4D9WYZDgyS0flBQR95Ib7A+1dkmZ g==; X-CSE-ConnectionGUID: 9ByFnFB8TJWXl/CclC7OPg== X-CSE-MsgGUID: XH5VXEytQrmrjvmHvu4thA== X-IronPort-AV: E=McAfee;i="6600,9927,11087"; a="30894469" X-IronPort-AV: E=Sophos;i="6.08,198,1712646000"; d="scan'208";a="30894469" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2024 06:30:45 -0700 X-CSE-ConnectionGUID: 6fnTrPhpTF+Z/us3BLsdlg== X-CSE-MsgGUID: 82JZCDugSWyhYJtanBj1rA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,198,1712646000"; d="scan'208";a="36053300" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 May 2024 06:30:45 -0700 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.2507.39; Wed, 29 May 2024 06:30:44 -0700 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.2507.39; Wed, 29 May 2024 06:30:44 -0700 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.2507.39 via Frontend Transport; Wed, 29 May 2024 06:30:44 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.49) 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.2507.39; Wed, 29 May 2024 06:30:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B1Ym2+C6yTb75EPg17tN0lHv8yzx6b9K3+YruU57ab27nnwcQSiCjSpfLuCbgwfIdU3aBSoJYT5V6q+RqUpAa/W8yb4B3UPAfXpNJO8YdiNkyukg0LgW+LVVcTENSrW9hGvWjd8Ran8cx6pZMjxoTSTCNAN2qkDNs4m3Hx6zjX72VIizOGnbJzBglRjd+bOouVjqVbS5XcFb6KXe/B1FrEn5UWkbHQbTMfdsMMDvzYSvHi1herq8uY5KjhHL2bE63LIoN0L3G1WBXpxStEFzVEBbeZ02JVOR7WWSRd75tJMFkb/Rbyk7ta0H/YDpeaZkN19gSQqYINfXYPJuEqmH0A== 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=K/fV2x3brVroKhRIi85Cs7VBpNse/RavfTpsrgDEZ8E=; b=FPk4QZKwBkVNNl2BiYdZeT0VkxvnYS4wEhT6X80vmuR0u+m4vcEsVXG0vEGmJmVu5Fh83uAHi2/78E1++jPG2YXSS4G4u25RCKGS1VVyLAetCFHkdAzztSwNv96q/q3nUnjJQWu0ZZ/pH91G06MiSuFBKUuvv+TWkWcydSwjKJv+PZS+PatZmJLXvgOhSsdtXGEdsttiaU7TGs+vdJTebNDIVLU34Zlo9krDIsL8q+KosXOSQRlKgKfarHLRlRtD1dfbOaYjPPJ53NjuOvpSmMYTvYCbFfsUnoGwtNz286M++f+RsDnByVp2v94lLSxkPMQXDRrWFs2zrSEFzY1pwg== 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 SA1PR11MB6733.namprd11.prod.outlook.com (2603:10b6:806:25c::17) by DM6PR11MB4675.namprd11.prod.outlook.com (2603:10b6:5:2ac::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.19; Wed, 29 May 2024 13:30:42 +0000 Received: from SA1PR11MB6733.namprd11.prod.outlook.com ([fe80::cf7d:9363:38f4:8c57]) by SA1PR11MB6733.namprd11.prod.outlook.com ([fe80::cf7d:9363:38f4:8c57%6]) with mapi id 15.20.7633.017; Wed, 29 May 2024 13:30:41 +0000 Date: Wed, 29 May 2024 08:30:34 -0500 From: Ira Weiny To: Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , "Alison Schofield" , Vishal Verma , Ira Weiny , Dan Williams , Ben Widawsky , , CC: Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Subject: Re: [PATCH 1/1] cxl/pci: Convert PCIBIOS_* return codes to errnos Message-ID: <66572dfaa49c9_86b8f294d2@iweiny-mobl.notmuch> References: <20240527123403.13098-1-ilpo.jarvinen@linux.intel.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240527123403.13098-1-ilpo.jarvinen@linux.intel.com> X-ClientProxiedBy: BY5PR17CA0019.namprd17.prod.outlook.com (2603:10b6:a03:1b8::32) To SA1PR11MB6733.namprd11.prod.outlook.com (2603:10b6:806:25c::17) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA1PR11MB6733:EE_|DM6PR11MB4675:EE_ X-MS-Office365-Filtering-Correlation-Id: 41676649-2fbf-4212-b357-08dc7fe3894e 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;ARA:13230031|376005|1800799015|366007|921011; X-Microsoft-Antispam-Message-Info: =?iso-8859-1?Q?bwSVKxWjBgKu8zlc48HJXOpxCYx0uo7HC+QTCYR26JrQSlhJ6Gk5RM/NLS?= =?iso-8859-1?Q?569kWciDhab2cHUn8vPBkSCB+zRMm4jsX3mhXifzHufm1UPbTQWk+0Yopk?= =?iso-8859-1?Q?Vn33/Co0N1lcJly7K7dZNa3e5FbwUoTaYNuo76Z8kO/AN0ZVBsrr2zHcIQ?= =?iso-8859-1?Q?RF3rQ1TsUvSO64V2ZaVTZBq9+AteP3iCY+fGoLuMpSroVhC1kzR2fTMIyI?= =?iso-8859-1?Q?A35ig7u5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D6OemY5z4qIw?= =?iso-8859-1?Q?Hs63H3e0sxPIOlka7czdWmOXmm6vC/LH41LygjT2xaLi7WAVQS7bCj2IhK?= =?iso-8859-1?Q?x2j6pAGl2k2io1r+F5ipo2CES2+X6lRmL92C+RJI2jG6z685morcBmSeuH?= =?iso-8859-1?Q?fMA7mDVtftq1H2romNAElZJvnVr9bk8YpjKX4JrkWV6L6XyJKF2XfiJ/is?= =?iso-8859-1?Q?A0XfaSoVcCp0KaWVlxYYaMzP11N5/eJJEaMRN9gTyLlgY4W54jOK92Qc0G?= =?iso-8859-1?Q?JQMsZgpZJG?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR11MB6733.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?XEaHLWmWj9P0vmbK6NYG4rn5c3Wi299lclj0BZS3K8/9MTr/Fedn3gOt12?= =?iso-8859-1?Q?Vv8BF9VN637jZQY8uW1MoiOjFUlcwqiaI47V7HSR87CPgBbePN415gZ389?= =?iso-8859-1?Q?nUY/A1nNzDEy22cbf47hlBIhdjHNCXgh1DEymlc67WMG8nOZeaqJjStcVa?= =?iso-8859-1?Q?OGI4xi9ubCmrsnWcs3f1s3d8CIApXLCGB01rfKXj9JQ5Uf+Xi3Ip3/fe/T?= =?iso-8859-1?Q?3h/Y4CSym+ezBZ45c9Vj0woNZE252YIl4KRGE10QYiVrCnnmjdQ4kltO/a?= =?iso-8859-1?Q?ffjv4rjRLHj0c+PbaR8CmY2qyUaMOellDHUBpBGr0lmCSdgtG2UDjo4bBL?= =?iso-8859-1?Q?+gouxD09caEuB9+gC8s2E9ipAOFjxAK5usKwm5qd9r3nujyoTxWhtEciXI?= =?iso-8859-1?Q?XeZgrm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xNbf?= =?iso-8859-1?Q?rrSlpTgBm9oyMoGEOs8tMyXKsQpO7fhA8QihMkEnzyKCeHN3fvkChLxydd?= =?iso-8859-1?Q?Leye2xGVHf4hQuL4tFD0JWsF2vi778TYexTDsmvQbV/6rZH3fHd4Ct0mhU?= =?iso-8859-1?Q?Tpvls6dUUrkL0ibyNNO9pC1l48DFjPV1Trh7EAC/f9oeB9dbTYerzYOnHE?= =?iso-8859-1?Q?/BlrTO8sKzsM2PWY81MXtX39ofn2OCpxo8TjnD1PxM1Q9wy6KgzTicQrw+?= =?iso-8859-1?Q?WUqz5lHJQA9xJce2HzYD6fuETtHuzL+zxF33ir7Z3aiJUQREKuthN9g+j/?= =?iso-8859-1?Q?Fq5uwq+yMAxFYGxDf2D+ZIBW4rnSIoIzCiiEg3jM/W8KXoQ2J+t3GZHcnP?= =?iso-8859-1?Q?Hl+0ASmeUbELrNW3/9EqR7uc7QEKbz3CK8d81JwF?= X-MS-Exchange-CrossTenant-Network-Message-Id: 41676649-2fbf-4212-b357-08dc7fe3894e X-MS-Exchange-CrossTenant-AuthSource: SA1PR11MB6733.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 13:30:41.9327 (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: OjAIkD0sehJWZ3MHo4nNDH5xUyNJ+hY9VqZ/dU5eUq6Y7IsE3HKlYcMSG0zrz8b6lXg5Azo0mWXpT3zASVXq0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4675 X-OriginatorOrg: intel.com Ilpo J?rvinen wrote: > pci_{read,write}_config_*word() and pcie_capability_read_word() return > PCIBIOS_* codes, not usual errnos. > > Fix return value checks to handle PCIBIOS_* return codes correctly by > dropping < 0 from the check and convert the PCIBIOS_* return codes into > errnos using pcibios_err_to_errno() before returning them. > > Fixes: ce17ad0d5498 ("cxl: Wait Memory_Info_Valid before access memory related info") > Fixes: 34e37b4c432c ("cxl/port: Enable HDM Capability after validating DVSEC Ranges") > Fixes: 14d788740774 ("cxl/mem: Consolidate CXL DVSEC Range enumeration in the core") > Fixes: 560f78559006 ("cxl/pci: Retrieve CXL DVSEC memory info") > Cc: stable@vger.kernel.org > Signed-off-by: Ilpo J?rvinen Reviewed-by: Ira Weiny [snip]