Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6603016rdb; Tue, 2 Jan 2024 07:15:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+2GkMMD/Y0f5Eoa7cCa2h8/joA4XpUoMbdTxbLXkNiZeya+JCxmo5BWeswU2fhV3Z/1Ve X-Received: by 2002:a05:6a20:6306:b0:196:b392:c86a with SMTP id h6-20020a056a20630600b00196b392c86amr1066955pzf.108.1704208535794; Tue, 02 Jan 2024 07:15:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704208535; cv=none; d=google.com; s=arc-20160816; b=RA0LVgDYe7/kxAv2cFPY4/phyEkLcErEPReF1rB13Vh980FUCa4D96H7DAhc+xABk5 lU/N8E1Y+5RCIo4BkpkX6CwINGEzveV2d6UjiKxc6jhyei+MjEFo2m8GWWTaEljyKf36 VJ0SkKGQyf4usphIQYe2dbxgtRcyyRW3Tox49FMOksE18elZU4ls+AIAraDTiUoCB+If 15LNLXB7VzkiJ0oYcXEb9RJJPpzsk+EMIOtKdmhcze51+NzeAglR5v9P637voP1q34oY Mpn+nNC7VMaG0091QLcRDCUYG18B/DOrVT0eQprYnK26B4udx3PnWJsafvqNlaL8/lze pJ2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5R/MUyPZKXiGnRfyDR7/fa1BTIb9z0ZZv7WNzsdcXEY=; fh=mnX3wLuzTrkmgdlNsEgQXOForHn3WUzT3G0xt8tsRls=; b=QMKQHyeuJ9xu17JFEmGdIimulZunN73KTsPypyaSDbHq8KwnjszYCBhfnuz6DgOjVt nN2Bu7lICtnsbafFBLsTwRuxD6FRs9ENoQmHFlpD0wxmmWQM8ZYqAabCV7AlYFHKUdpx XlHqV2KuHacg7qVbJcOxaLU9JF+hG9g64W1VmcOlj2W/3lwWo7aduQ6//Wy3CzH8s5Kf m8oIUmobhuwitTATTng5qIOI3HvZqAsvCU7XZA3eGZJa/ENBr0h8rFNq5muyTDg70ZiA MJMXgxj3na4WruXnpr34RFh71E5PhNYHCDuwa2Qik7fr67Cv3AwbcSiWp2K/AbJw2ePV pqug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GyyDIVkE; spf=pass (google.com: domain of linux-kernel+bounces-14548-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14548-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q19-20020a170902bd9300b001d3177065acsi18056560pls.229.2024.01.02.07.15.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 07:15:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14548-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=GyyDIVkE; spf=pass (google.com: domain of linux-kernel+bounces-14548-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14548-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 73FA1283B3B for ; Tue, 2 Jan 2024 15:15:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C1AD13FFE; Tue, 2 Jan 2024 15:15:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="GyyDIVkE" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 5563712E6A; Tue, 2 Jan 2024 15:15:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 402CiInD000998; Tue, 2 Jan 2024 15:15:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=5R/MUyPZKXiGnRfyDR7/fa1BTIb9z0ZZv7WNzsdcXEY=; b=GyyDIVkEGv2s4ldmdCYBlJ1ixw+A4EcspTZxZW0AWcKglqttjuRcZOWfltt8P0EgKSeP 32ZelRBFwf9bSXBXHfmAh5JbmCFQIAv4393784ZT8VXB3+PXBLUymwLH9he/rt0+tvQH sOzZvIDs0VjmkMv3gM2oqavZg0wYCte/C2ObBbe3TD5lm1d5fTRV9l+P7RVM/OQgNKCQ faqqnaMqvgMJTgS9Yck5u0waPXffoX9xKmzLwTnUTa8d+1AU3AePtPmp1diwbKlsQ8fa oZAarMEIhaM+Q+iIE0gl/Ik4fRc3k0DmnRkuoPP6pfmYlMydi8ucrXFFTyQl4VPLXYQM sg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vcf2j7x4t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Jan 2024 15:15:03 +0000 Received: from m0353727.ppops.net (m0353727.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 402FEmSn008974; Tue, 2 Jan 2024 15:15:02 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vcf2j7x47-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Jan 2024 15:15:02 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 402DmnDH027299; Tue, 2 Jan 2024 15:15:01 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3vawht5u20-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Jan 2024 15:15:01 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 402FEwtx42009224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 2 Jan 2024 15:14:58 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7EBA920043; Tue, 2 Jan 2024 15:14:58 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6486C20040; Tue, 2 Jan 2024 15:14:57 +0000 (GMT) Received: from osiris (unknown [9.171.22.30]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTPS; Tue, 2 Jan 2024 15:14:57 +0000 (GMT) Date: Tue, 2 Jan 2024 16:14:56 +0100 From: Heiko Carstens To: Ilya Leoshkevich Cc: Alexander Gordeev , Alexander Potapenko , Andrew Morton , Christoph Lameter , David Rientjes , Joonsoo Kim , Marco Elver , Masami Hiramatsu , Pekka Enberg , Steven Rostedt , Vasily Gorbik , Vlastimil Babka , Christian Borntraeger , Dmitry Vyukov , Hyeonggon Yoo <42.hyeyoo@gmail.com>, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-s390@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Mark Rutland , Roman Gushchin , Sven Schnelle Subject: Re: [PATCH v3 33/34] s390: Implement the architecture-specific kmsan functions Message-ID: <20240102151456.6306-J-hca@linux.ibm.com> References: <20231213233605.661251-1-iii@linux.ibm.com> <20231213233605.661251-34-iii@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231213233605.661251-34-iii@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: x9nKpR2aC7bRml8eajt4FMkQlPs2Gq8M X-Proofpoint-ORIG-GUID: vr5hM93MX5JzVTHczD6LZ9lrx9kC2RZi 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=2024-01-02_04,2024-01-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 malwarescore=0 spamscore=0 mlxlogscore=460 clxscore=1015 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401020117 On Thu, Dec 14, 2023 at 12:24:53AM +0100, Ilya Leoshkevich wrote: > arch_kmsan_get_meta_or_null() finds the lowcore shadow by querying the > prefix and calling kmsan_get_metadata() again. > > kmsan_virt_addr_valid() delegates to virt_addr_valid(). > > Signed-off-by: Ilya Leoshkevich > --- > arch/s390/include/asm/kmsan.h | 43 +++++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) Acked-by: Heiko Carstens