Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5788690rdb; Wed, 13 Dec 2023 22:09:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgq+SlgOJpdJsb4eHhzY1OBl1VxX0V4hEkiHN1Zi0o2C/NKgidR+U82SydhTDWONFAN31m X-Received: by 2002:a05:6e02:1608:b0:35d:73e5:5d3d with SMTP id t8-20020a056e02160800b0035d73e55d3dmr11170780ilu.27.1702534199310; Wed, 13 Dec 2023 22:09:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702534199; cv=none; d=google.com; s=arc-20160816; b=v3C7I9j00mOiZZyIbCMc7Uga2NaPLZfZX/3vrr10o6KOWgVXneCf6vkdEv5EjWPNyu xItgicE6J13XwyjmpAGNH0mePJBXlhI9n8uXlN2PjJvkL1KAwzTUHJ1DjW9+0aI7hgtE EiKUZUYPYtBqx6QIv486JQBRgC94W0condKVNtXu9BTyxTze+n4vtXjOY7OljHf+QiAI ohAH9IfGD0HcexPKPIARSyEx0LXyxjkQfpdrFgFfHSpyCoLlsv+Z8pvptV5y0bI0TPYW yIvKCJGMNi4Qpf+OMWzwYsw8+d2vii6JBWC607MtoxjMua7FR4OSzxO370s/ODAF9PSj LSOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cHxReqqGIjRID+MyVHm8vhatwbiHa0YC0anP1AdF18E=; fh=JZjI76tHrPFh9wXiZ9caJKwSuDkcoMAMvZd7/HZf8J0=; b=ANV+7wBrnNxBM2ql25/TeFMinRpRJSq1vNPHB0qFfu46O8DxgzxqN7Q+TXdCfkAIJo k6EBf2BBm6TB728VEUv4D3GMNta+OL0iw8+sBaIcdQuP2xBzOfX+W7Vi3qQbtVntF7cV rdRaQkqZkEX1FcWmxp+JAq5ctyk/DhVnI92dSD/B/0qUmhnhDKiqbtPJIY57UZ0XAn82 ot4y8cAkTXzAIPX/g/iJj5Kr52+M23FfqLxN6/Rs6S1fNXA+0MswEo5gWYLmTGF8rvmR HpTmvrtzNhesJJ9kcrbHPsiiP8GDThYk+grT7I+e8wCZgRZhqX4LyB9lble9LmQiuC9Q bt6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=O7P4PPAw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id r9-20020a63ec49000000b005c658c16acdsi5906129pgj.196.2023.12.13.22.09.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 22:09:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=O7P4PPAw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id AB7B0802A70C; Wed, 13 Dec 2023 22:09:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235568AbjLNGJr (ORCPT + 99 others); Thu, 14 Dec 2023 01:09:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234277AbjLNGJl (ORCPT ); Thu, 14 Dec 2023 01:09:41 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2589E2721 for ; Wed, 13 Dec 2023 22:01:10 -0800 (PST) Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BE4t7Eb006214; Thu, 14 Dec 2023 06:00:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=cHxReqqGIjRID+MyVHm8vhatwbiHa0YC0anP1AdF18E=; b=O7P4PPAwCjnBolFEK5aigXnmniFD9sjdd9BLkfdcutp31MlkXAf51/guvIeHG3FtVKgI 6e//couuMYgkyrpYp98M6bwEmZGjWGot1g+a1rGS3Dx7PBrzit/yLWhPoFydN3B7gr3D yp6y3/pEs9IKaw2+YM3nf3OWGmf9S2gxEiTCpdes1BEfWp/WzQz1B8IYWKBlhpJ5Aeuc 4Q8LwcsrwbNY0Kq8l2VEpWeJJd2yWLwFZ/q/z6o4o4NvXfVXeJXT932fC6OYqBNJnA4t 4eOyhYvNV5QFOstg/FonK6nQgF3Wb3DCVzo5iloo4YD/JHdnmBwZfPkYbA8itR9IYpkZ iw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uyu3h95tt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 06:00:57 +0000 Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BE60toY021803; Thu, 14 Dec 2023 06:00:56 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uyu3h95d0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 06:00:55 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3BE54w48004701; Thu, 14 Dec 2023 05:56:24 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3uw4skp2pd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 05:56:23 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3BE5uM6c11534940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Dec 2023 05:56:22 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2F24620040; Thu, 14 Dec 2023 05:56:22 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A75202004B; Thu, 14 Dec 2023 05:56:21 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 14 Dec 2023 05:56:21 +0000 (GMT) Received: from nicholasmvm.. (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id 53F426047E; Thu, 14 Dec 2023 16:56:19 +1100 (AEDT) From: Nicholas Miehlbradt To: glider@google.com, elver@google.com, dvyukov@google.com, akpm@linux-foundation.org, mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu Cc: linux-mm@kvack.org, kasan-dev@googlegroups.com, iii@linux.ibm.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Nicholas Miehlbradt Subject: [PATCH 01/13] kmsan: Export kmsan_handle_dma Date: Thu, 14 Dec 2023 05:55:27 +0000 Message-Id: <20231214055539.9420-2-nicholas@linux.ibm.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231214055539.9420-1-nicholas@linux.ibm.com> References: <20231214055539.9420-1-nicholas@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: h7MhkM45JBHxG2kSFrgHGvwhIue8lzZJ X-Proofpoint-GUID: 2bQX-ReiYWMtgXVfFKBDU7fT8v6iA0b- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-14_02,2023-12-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 clxscore=1015 adultscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 suspectscore=0 phishscore=0 impostorscore=0 mlxlogscore=993 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312140036 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 22:09:57 -0800 (PST) kmsan_handle_dma is required by virtio drivers. Export kmsan_handle_dma so that the drivers can be compiled as modules. Signed-off-by: Nicholas Miehlbradt --- mm/kmsan/hooks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/kmsan/hooks.c b/mm/kmsan/hooks.c index 7a30274b893c..3532d9275ca5 100644 --- a/mm/kmsan/hooks.c +++ b/mm/kmsan/hooks.c @@ -358,6 +358,7 @@ void kmsan_handle_dma(struct page *page, size_t offset, size_t size, size -= to_go; } } +EXPORT_SYMBOL(kmsan_handle_dma); void kmsan_handle_dma_sg(struct scatterlist *sg, int nents, enum dma_data_direction dir) -- 2.40.1