Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp407933rwd; Wed, 14 Jun 2023 18:24:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6uMcjkXXlSMFzBpFuiRJk/BqgqJ5bIbtZvG0S6ru7b13Upw1WGYseeBolxDu0oVLoVDCTL X-Received: by 2002:a05:622a:145:b0:3f3:8ddc:d760 with SMTP id v5-20020a05622a014500b003f38ddcd760mr5054344qtw.12.1686792270718; Wed, 14 Jun 2023 18:24:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686792270; cv=pass; d=google.com; s=arc-20160816; b=Bbn0dw/y6moDCQGnvSRM0n1Qn+/3mveA95yjnz1/a+Q2bniSz230cNqfVc4/8d1QrM cPpLyGRUcySN/+O14cjMZxihFoheZHiAZk9XeE5ZEGOCYEZUFlK+AKwMIGwJGhcjhDoi gkVEDY1TW6okcLaL/9CuOcEjLQb7Vqq8Nlgvdg6p2zKGSJ/a2oVvoj18MVVzpqhGTd01 FEVMo3mira0sWPhqQgFTXs2b+xJgXxA+Kbpy8twf7VcEOUoSL57nXkfSfQwucnoaLkBY unsZbFx6eF/Br7kpxkeO3XOj32zywnV99fYvTlnFVx8Z0uhrKgGoa/thD1skpBIf7PCD FZdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:to:content-language:subject:user-agent :date:message-id:dkim-signature:dkim-signature; bh=NDoqouHqPO2jkvtFwk4fEPF0vsmXh31ecVEUoc+ReP8=; b=p/3u2R7jHeEIQN3Pv4r+YYCgxR68QFHdOT51vrkad0Qr5gZk8yzF7qmyGPozOOtxpk Ts07QGx2Gre4DJQ1mQiPvHgTFwkLTAUjdaDWn/k9S2MRuheIbigGbZrIJFHlTOxcZ1U3 Sgkt/8p5kZgQnYq4+yRUIVkrBAtxER5WFaCJT0oONG2nK1USbH9EVu6bExPsBOaW639P dav4ny7f2Ej4EhcBq5ZpOfIYLlHKEJFgL3JCsYEAvvVNLKUu1g+N7JjTijaAn0+F2mLB 0B70j8gOO6mt2F6Xvho8BlE1ec9e8h3Qz1kPNxpDMUltWmgW+dzRrfqj7ASfrMBnDZQF 9Tsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=ZJGDnKsx; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=AWIwtLKc; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k68-20020a633d47000000b00513af1fa0b5si11828424pga.797.2023.06.14.18.24.17; Wed, 14 Jun 2023 18:24:30 -0700 (PDT) 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=@oracle.com header.s=corp-2023-03-30 header.b=ZJGDnKsx; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=AWIwtLKc; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237578AbjFOAuf (ORCPT + 99 others); Wed, 14 Jun 2023 20:50:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237537AbjFOAua (ORCPT ); Wed, 14 Jun 2023 20:50:30 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5823626B6; Wed, 14 Jun 2023 17:50:23 -0700 (PDT) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35EKANU0021104; Thu, 15 Jun 2023 00:49:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=NDoqouHqPO2jkvtFwk4fEPF0vsmXh31ecVEUoc+ReP8=; b=ZJGDnKsxmXbYJoNzm/f9xA3FXxqtkJ/lIX/WS28YPgqUeMBb5OSFLblQRMZs0viINTY+ VSp5IV9rWd05p1EcSH1emY9FfiWxAlwPBRiazOOOlzPsYSmNdxVjESpZhnGnfd150n8t v2PEmViVqePeXkw236coghQuOw16reHQxlQOJTGpS4hu3cpgwjDQZKpzFmyljnKKZdta xzMSJqYKOXkCd4bO/Nqwv3R76Qfk8s4VrDYtO5+7kzGxw1iE0AHEeUNX/RU286GdWTbr TPcSEm554treyPmutbOiqVcU175HCmLdAdFMOAQj8x48DrxFJEcvCuy7e49BXQkYx3wR iw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r4fkdrq4x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Jun 2023 00:49:59 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35ENbOmj014058; Thu, 15 Jun 2023 00:49:58 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2169.outbound.protection.outlook.com [104.47.73.169]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3r4fm6100x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Jun 2023 00:49:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RXLOQvraeJPWPE5Zs5q1WNxiG7ElaEEHeZnu0cIMXItp/siUfKJU9fvS8yDiwd+ZOwmmflm/SA4UOJC0QTExfqXnm0sYa7jKmW4RaSMlIzdIaKRZOYyce7ZXTR9cdJtwgPAGGYbqCAo8WasPsRJ+2o3X7fx3POq2mE3rj68f1EeLkqVuKdPKq7Ijer0iA03PyTsqkvW8ROPwuLq+EngN0dn/O2k43g2VLcWfs2NTCUJxK9mwWLiBScQDUVQyMczanwb6xt4AWgAOWkx0SNXmCCMf6CcggueFnjAmaUMgtjDOe83NEIsgT4JDhZ6LKIEDjwGds5NsB5MKMKSLWExX6Q== 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=NDoqouHqPO2jkvtFwk4fEPF0vsmXh31ecVEUoc+ReP8=; b=Fudmgp06lkT8LNjv7VaZPtkt2rQPOXh/jmtPkb7ErfdJ2rxQKEuV0+llsWo/9yXmbPyTjMRCJcW3ZW6pBqqR6DwAotmJEq0mxxoLHhdZu8+wg6VasVHXB0NFOL8dfzBTZHV1aWE/Vl7bUsclcMyFMqPLTYw6K0+eSppZ089In31+PcMb0qjwWRFlYjoxydHFN/6AlyvFUnyb8hEBfNaslcJNSo0HjUfeuyVQAKh27R85dJ6hKqXbRsBWReHbm3dHvaBWnEQRiskB+uE0P1uJ/SciDdU5Y/tgdlhC46CNHIQ1CXxpWeJa+RpbhPN1JZ4VsRADTgzGhoubQCsoZDzwAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NDoqouHqPO2jkvtFwk4fEPF0vsmXh31ecVEUoc+ReP8=; b=AWIwtLKcMJY+3yE4HlY0xRtarOA3SvxHQbvAanJbkcGRxhYZ1Fa2skh/BMo0nZaSu3ou9WyCy34YxFipssbhADY9Jqp2xvnpL4umuAiD7nukdMxj/P21XNhnNnw6Lr4jz6Rd6o7jukVE2AP5v149Dg7v+AEzalazxk+QN0S25+s= Received: from SJ0PR10MB4429.namprd10.prod.outlook.com (2603:10b6:a03:2d1::14) by SJ2PR10MB7584.namprd10.prod.outlook.com (2603:10b6:a03:547::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.44; Thu, 15 Jun 2023 00:49:56 +0000 Received: from SJ0PR10MB4429.namprd10.prod.outlook.com ([fe80::a81e:2d31:5c2d:829]) by SJ0PR10MB4429.namprd10.prod.outlook.com ([fe80::a81e:2d31:5c2d:829%7]) with mapi id 15.20.6477.037; Thu, 15 Jun 2023 00:49:56 +0000 Message-ID: <80bea2b0-db8a-0441-e7c4-051898729101@oracle.com> Date: Wed, 14 Jun 2023 17:49:52 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v4 1/1] dax: enable dax fault handler to report VM_FAULT_HWPOISON Content-Language: en-US To: Dan Williams , vishal.l.verma@intel.com, dave.jiang@intel.com, ira.weiny@intel.com, willy@infradead.org, viro@zeniv.linux.org.uk, brauner@kernel.org, nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <20230509054714.1746956-1-jane.chu@oracle.com> <20230509054714.1746956-2-jane.chu@oracle.com> <6482999b3afd8_142af82946e@dwillia2-xfh.jf.intel.com.notmuch> From: Jane Chu In-Reply-To: <6482999b3afd8_142af82946e@dwillia2-xfh.jf.intel.com.notmuch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SA1P222CA0185.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:3c4::11) To SJ0PR10MB4429.namprd10.prod.outlook.com (2603:10b6:a03:2d1::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR10MB4429:EE_|SJ2PR10MB7584:EE_ X-MS-Office365-Filtering-Correlation-Id: e4aff755-d635-46e6-8c72-08db6d3a702f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZGXih7eWon7GBS8JPKBxqpFBJDXG81vKIy4bSzLDpJ8uqqyOjvWVAgqWEpoJfYJtvRwVOdgckthUbjtprXbhze+b2qOJKF6m6Xi9gQKcixAPM2Pq9U19XE9dww9ZyKaR760Gn332dI32ZhQGPklfs9hdgkwxGegrTeZkOf2Xar2ayuyQymd30oN1hHKi4P5xDKDxdd48rtFyGkPKDZna0UtXAvgYLLt2h18tVyzFTnJtNAPj8v4SXbPcIDSkJJvLAR7RV32RNmB1kkzyrQsElUi0YZrh/2pLJlrGzAMYL2/V/oJAT48SphJSj2bazwc6M+mrbeS7PBY8t76VGdh+UKVGdqnlc3G3FGAFnt8vDTcy0eBDoGrdzjnn1HyBtx0tSeriBAygqmZyd7Mjcj8FyH4UxhB0QF43GOgbgbm4a/qZZS3pX60KYVndXeZYPsMNtIublboam7H3xaM8bhskfOp+DNk4OpE/7reV9LFY2fjuFzmQZBf+R1eKLK62SbVhnf3XAh4iy9L8Vgi6CCAOyb22gMSQUqd3tDIlIHlKg5QmilpXRbZw6j97T6n+7gArYNqUvtyV1hyDnL4lCpubArhE+QLbGZZbmdWX80kSJljxKWo5zwcuy5N+GqlfK/HC4StriQWJryJ15l92TR39kpwwyc06MO24z3piiEBqtkc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR10MB4429.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39860400002)(376002)(396003)(366004)(346002)(136003)(451199021)(86362001)(31696002)(36756003)(4744005)(2906002)(6512007)(6506007)(44832011)(7416002)(53546011)(66946007)(26005)(5660300002)(478600001)(8676002)(31686004)(8936002)(6486002)(2616005)(316002)(41300700001)(66476007)(6666004)(66556008)(38100700002)(186003)(921005)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?azVBc1orb0VSaGxPcm4yL2RXSXFIZkk0THN4Y0xOVXIxODcxSFMrTE9UbEI5?= =?utf-8?B?WFpNY3NwZXluelFVUVF5Z2FaeGJQODl1VGlSaGxtNXlrU3lDelZTWU5TZ2dZ?= =?utf-8?B?dmhWVFdlL3FST2w5MU8vaStrODllSXdkM3dEczJkWGI2SCs4Y2QvMC9YbE5S?= =?utf-8?B?TVlkOEtSdmF4UWFvRWJ1NkVxRVpacE1aZnc1UCtkTXlLZjRKeC9acStNaWVU?= =?utf-8?B?NlZzb0cxazdvbFVFQW12VDNyQVdDRHBEZzAyR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ZyUUJFNjQ1a0IyNWg1aHVXVmthUmUrM0UvREJOMVJ5WW1H?= =?utf-8?B?cmRWTGVXQ05lOGFFYTFOM3gxTEZoU2dWaXhkV01oVzBEL3UwSkdSNHpzWHBt?= =?utf-8?B?VmZTUXBkSkNoSjZqNkJEOHJaU25uRkd5ekp0M1g3OHQvelF1cE9KMGlkMi9V?= =?utf-8?B?K2l6NVBwYm9vNDV3WUp4RklGbnBLUldCckpZczdIcXg3TjZNYTFNMzlQTlhq?= =?utf-8?B?Y0tHSWJBMnBZb2N5Y1ZHVW8xMEMxU1lJRXRoU25ZdUNNazAvc2tLWWdFOG5k?= =?utf-8?B?d05CTHFCQ1pFTDdwV04vQlNXYjBWSmY5cEhKVXAyWWVISUlNaENQeDJHVzdx?= =?utf-8?B?UkxMbzBLckU1YmhWUUp4QXU1ZHBqZWtoTXB5TG9ReVB0RVp4Z0poQWJNVjJj?= =?utf-8?B?UG93bW95Z2tzNzA0WDRXb3ViaHJkOGg5cVg1R0pRQmpremZweVFLZTY5V3NS?= =?utf-8?B?dHVxUFZVRExQOG5JZzlYdFQzMXhlbHhPbEhneXVOV3VBRkErL3MrZWd5UVFS?= =?utf-8?B?c2o1dVMwTUlLTUpPcWFKZHlTMjFlM2luZGliWFBRTXRPWHRxUT09?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4aff755-d635-46e6-8c72-08db6d3a702f X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4429.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2023 00:49:56.2636 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BSlBl9j7nSULTTg3KQWWbNt4ezTH7Kjpzc5v0pQycA8StUQagS0CzgHjBHaFNvjsEwy5rVetOW9LAI2/gahIeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR10MB7584 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-14_14,2023-06-14_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 mlxscore=0 adultscore=0 spamscore=0 phishscore=0 bulkscore=0 mlxlogscore=920 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306150005 X-Proofpoint-ORIG-GUID: nj6C591mOo1bx0DjRzordvhOm-7QhVYh X-Proofpoint-GUID: nj6C591mOo1bx0DjRzordvhOm-7QhVYh X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 6/8/2023 8:16 PM, Dan Williams wrote: [..] >> >> +static inline int dax_mem2blk_err(int err) >> +{ >> + return (err == -EHWPOISON) ? -EIO : err; >> +} > > I think it is worth a comment on this function to indicate where this > helper is *not* used. I.e. it's easy to grep for where the error code is > converted for file I/O errors, but the subtlety of when the > dax_direct_acces() return value is not translated for fault handling > deserves a comment when we wonder why this function exists in a few > years time. Good point! v5 coming up next. thanks! -jane