Received: by 2002:a05:7412:d002:b0:f9:9049:d2ea with SMTP id bd2csp30132rdb; Wed, 20 Dec 2023 03:05:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFz+edLXWe8XMMKQV6zn87Du8Fa3gCjcngsYZf5g2EbVBArwpT0xVvb+eVyoz3DSTnQe53W X-Received: by 2002:a50:8711:0:b0:553:6d89:3290 with SMTP id i17-20020a508711000000b005536d893290mr1165971edb.26.1703070319226; Wed, 20 Dec 2023 03:05:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703070319; cv=none; d=google.com; s=arc-20160816; b=cjupTkwq7baqw4Yvkj0vJwnqEQCYJshrCqlXjgYO3HaOqR6MvBKfmNjwORPAZd7x6r sr+p/fnRGPAGVCqXsikWp5QxhDkJ3FhRemLIQENfJ1HI7VywkI5fHxB6aRbw0WY3TjQI skvS4Qa/5n0xYbcvqlIvtIcAiD8jRHPafszHuMia7613rN5tnWB6rD6f092ykSKRWXL7 Jv4q5TBV9xK09GrXI2eQRMRIX/ssxgA76rTI1H8NceRxy8KQUjfsCwlzUxpuVC+DvBmL BpUrbwJklhYdk5prMUeA1FnAe9R5FVgxYaAFXLOR7bO3fGHcrGFaX5slRsTbx4n0mx6G 7NcQ== 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=aRuOb3thPKxS5ftTwWuPZVBwpG9dfs4GXpoJ1hD7vC0=; fh=kmKVJfn1Y9YZhlVPpqCDHuVVZsVgm/oqvGOUm8JK+fE=; b=Rnr3YDEhMcoHsBvJUtPPLlZYHegNGzDEbIlHKzzVkahXc9n/j7/AktWzpYjKJiSqAu dKNFIFzKX2nOf+mEGU4ZJhEVuzNeQHq232k7z4DfIyQ7mUjDb1VGEixpJKkEHaGk5Hi5 FdvNy05XRMzEZuUd1PdRndbEaPCJufpy9NVY4b+Txg1R4WviTeg3wzBo5L0R208Gb6b4 Z9hKy89p9Csr6i4kKIyA2RVLtB70VP4NgGZaujCZH47cYCvmvnI9b6/E6R8TPf0GTsr0 Q1p4gbGoNAVITXjGQr6x+bfikrmUoYwiWQR4b/P4tnxIkltJQEfE19+9cW5RuqJcrfig LTSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ZLsOLMp6; spf=pass (google.com: domain of linux-kernel+bounces-6792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 15-20020a50874f000000b005532b0414b0si3123355edv.384.2023.12.20.03.05.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 03:05:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ZLsOLMp6; spf=pass (google.com: domain of linux-kernel+bounces-6792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6792-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EB2191F2248D for ; Wed, 20 Dec 2023 11:05:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3C7F210F8; Wed, 20 Dec 2023 11:05:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ZLsOLMp6" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (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 A5597210EF for ; Wed, 20 Dec 2023 11:05:09 +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-qt1-f177.google.com with SMTP id d75a77b69052e-42581f9c0e7so45806291cf.2 for ; Wed, 20 Dec 2023 03:05:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1703070308; x=1703675108; 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=aRuOb3thPKxS5ftTwWuPZVBwpG9dfs4GXpoJ1hD7vC0=; b=ZLsOLMp6hN5xMThNv+as6Ms91ht4Hg8idXzILP4u9tIFPo+5rHRXxllusclBYIXajE Taub7AAXqVnoQI3f+fLXz1Gp0AxFveNNF0bNkr8eTL/zMqrVufk8w5ZNjCo+t1tZ8qv8 t8z5nthKMJW+gMkBUyv+fkxw3IDtvvaXbfvz6qO0TtjPZ/NLkiMZzcomXP3VmwV5CiRQ UTKG35J2uNwTtYgyXGpycBAz1Ubbiix2cIl1KNmNuETV61LRgb3U//dbRzVATravzLY2 7cwjvRQh5zkoshl6AuNy4Yj/qGDO3V1Z+x9I8CvRuIbJouB2zBFCjxFaSRojVcxHE5UK ufRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703070308; x=1703675108; 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=aRuOb3thPKxS5ftTwWuPZVBwpG9dfs4GXpoJ1hD7vC0=; b=W8X4/ktYdIGxx3IoHE0mNrI5kIcCalOXib7e9OeWAV/duYP88uE/FLyhREmPUeDWsz VGLHDqgDywbo+aTTB8+BGXSGF3A8nXOiiGSdTR/zEM7o7vu3tVg5VMqARecERFYgzDsE t/jrDntjtfs3pLMoBvH8tS+8WQ9AlfJB0QzBv5j8bPbHUWHHN5NWHQi0bDNqHhHSa6XR 5U3fvTR0R1aSyIybpDrpsxrrciEAK2d9mrNfSuDuSGQi/ZiP6ohjqokcW8ypbwtrULTy RAfaC1K+Tf8bi+qTzWSf+dZEku2K7BY5lNWK7mV5AtQ3cMQHSKsv1wbmeEmcDE62Te34 vFjQ== X-Gm-Message-State: AOJu0Yxyi0Wv++kH6c28jV7/in+g/NC3mQsV/8ZIzS47Wqm5UjJS/i7u fewXRQnKf+mxJu3/3IfInAZQvI+rhyD+QCW6leSpwg== X-Received: by 2002:ad4:5dca:0:b0:67f:143d:b8ca with SMTP id m10-20020ad45dca000000b0067f143db8camr12635720qvh.44.1703070308403; Wed, 20 Dec 2023 03:05:08 -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-25-iii@linux.ibm.com> In-Reply-To: <20231213233605.661251-25-iii@linux.ibm.com> From: Alexander Potapenko Date: Wed, 20 Dec 2023 12:04:28 +0100 Message-ID: Subject: Re: [PATCH v3 24/34] s390/cpumf: Unpoison STCCTM output buffer 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: > > stcctm() uses the "Q" constraint for dest, therefore KMSAN does not > understand that it fills multiple doublewords pointed to by dest, not > just one. This results in false positives. > > Unpoison the whole dest manually with kmsan_unpoison_memory(). > > Reported-by: Alexander Gordeev > Signed-off-by: Ilya Leoshkevich Reviewed-by: Alexander Potapenko