Received: by 2002:a05:7412:d002:b0:f9:9049:d2ea with SMTP id bd2csp41803rdb; Wed, 20 Dec 2023 03:28:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXwOGseHmdbWWyekmDBlMXE1erpTcb1c6QleoUzmtHVkpGIxkmIdRXp9HsdD5HU6jp+jrh X-Received: by 2002:a05:620a:13e6:b0:77f:99be:897b with SMTP id h6-20020a05620a13e600b0077f99be897bmr13530005qkl.152.1703071723927; Wed, 20 Dec 2023 03:28:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703071723; cv=none; d=google.com; s=arc-20160816; b=s7mV7O/AFC6bUu0xK9u9+BeoUspbeW6WPNt63QD4imxBDI6Ul8zR1l7IaZXS0feDaN 0IT0Ri8MkaA0uW4DQgIVyN+FPend4nKtHxrG9dBwZhQv5RzWw7dflmEglGkqtBJLhAWb Dat6fL3yg1bCLWSjHbZW+gJovE7H5Ep77uGUPgRtCnx6FKddvF/RGS18cQR1bPLf0RO4 sih5u0Vr3x7trBhKZy9WBz+EWU3lVKiRKZcPe5jwhVcroNQC2A9TBurZKxnmmp0US/Lg tfaxIvoa053AgUxfr/aSNjiHHHQuelp68PatrLHqUbS8epo1Xk6mIyEaBfyqoQMkok+J mg4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=hcGG20SZ9UCuGoY4ieTF40E4xDyL6a01++66TUtS6is=; fh=kmKVJfn1Y9YZhlVPpqCDHuVVZsVgm/oqvGOUm8JK+fE=; b=hJh6lWMwRWnQBREW5ucj+6N3A7cONjMbs64+UiCqpjrNgHQue1uvc4eirWPiXtnKIk 4TkbPdNhtuyp//vvnGsYLFrQyOjTXzFXogePO6v5KGpa+P3mjsnQYmZTnpZoADj0FxyW oOvRB5u8mLJM9RKtJF/cmuqWOCZ7OiqK10EWnHb2XAZEFA8pZorbNDQWmQWYXz7xpqay RF96TEYLghR2WMYqnFjqf8YRE2caJidVgDY4ADzYcnWe25j5VeR4u+uBvN8XzlsdJZxl vLMPrx8PqMnHLf+vKju/ou7s6aEz/tR9LzvK2XwgVuA9Ip8QpdQv99rIoh3CbKLkidDS 92kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=AiCGQbDj; spf=pass (google.com: domain of linux-kernel+bounces-6816-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s22-20020a05620a0bd600b0077f88da80bfsi19605955qki.423.2023.12.20.03.28.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 03:28:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6816-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=AiCGQbDj; spf=pass (google.com: domain of linux-kernel+bounces-6816-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A3FA71C2270A for ; Wed, 20 Dec 2023 11:28:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82D2A2136A; Wed, 20 Dec 2023 11:28:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="AiCGQbDj" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C8D121358 for ; Wed, 20 Dec 2023 11:28:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-67f30d74b68so27343256d6.1 for ; Wed, 20 Dec 2023 03:28:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1703071714; x=1703676514; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hcGG20SZ9UCuGoY4ieTF40E4xDyL6a01++66TUtS6is=; b=AiCGQbDjMKLPwp3JI32A2goxcjSZC6vo3Od7l0atkWxkYOB004BZYmRD6zyzipStoO syCA/UtfNw4vxP1tLVbi1nP/fe4nk+S1XnVXImT7qo6masL48IP3TzQ61YvDSK2/odie ra5EcTlNzMHwDmpLePUIcrstCVlzPxeVARrStffztx2Od14SjXslAdOQfPkXg3nhb4sH cMsw6Kja8Hpmu1nJBin7iQDq+iUS8avTPTtdEWFQw10neM38QVwVKPixbS0gbmXYgA3+ j28Jrj6xtkd1jG/O5XISxAZTxF+obbVRA1dQQu7ADfAsVOCvhjwKd9CjRPCr1prnOZbl SHBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703071714; x=1703676514; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hcGG20SZ9UCuGoY4ieTF40E4xDyL6a01++66TUtS6is=; b=aqhZrbm3P56tIhF652iFQXUUk1EU7vO0LPnEjhz8zcFRwb1atHDiXB1htKh/FK/itb mlteizwFY/K0XS8XYAWUVuWjPoHgTdo+M/1hyUOZLsCsj1D5uR7CFrX3jrJpoiFXobqY XizuYvWFcKPAQswRdtNhre5Vt+0yQDduQ6uqKtfrhXsNzCyCUVVBDpKBGMpB7SXRuMng 3CeBz7epej1dVFJwYjnfpP73HKIzPPP3nPq74qNDzjCA83EXidrhd9AkJ+gKES9dYqm8 m6eUZc+19plkIN5x4i89E3fbmhOnkHjJV6dOqB6MDBz+BGzHDpD+tZPKbp9Fr4CfStxA RgNQ== X-Gm-Message-State: AOJu0YyIaS/gAh6Xfyqsx7CeoyKgY16AEQAuAur+wD90F8rureK4pxBR QKdYzaiksT2AZSDsDbv4miWaIdLJMBBK7SqYZki4Yg== X-Received: by 2002:a05:6214:d47:b0:67f:3d14:4b6e with SMTP id 7-20020a0562140d4700b0067f3d144b6emr7374255qvr.130.1703071714268; Wed, 20 Dec 2023 03:28:34 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231213233605.661251-1-iii@linux.ibm.com> <20231213233605.661251-34-iii@linux.ibm.com> In-Reply-To: <20231213233605.661251-34-iii@linux.ibm.com> From: Alexander Potapenko Date: Wed, 20 Dec 2023 12:27:53 +0100 Message-ID: Subject: Re: [PATCH v3 33/34] s390: Implement the architecture-specific kmsan functions To: Ilya Leoshkevich Cc: Alexander Gordeev , Andrew Morton , Christoph Lameter , David Rientjes , Heiko Carstens , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 14, 2023 at 12:37=E2=80=AFAM 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 Reviewed-by: Alexander Potapenko