Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6582650rdb; Tue, 2 Jan 2024 06:43:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTQ+B034alJYLG/yneitm9HyV5saARExY5AutRiZCREfjDshEbDEOUY3khK2TZ6DzzcKCK X-Received: by 2002:a17:90a:a60c:b0:28b:2a79:dcd with SMTP id c12-20020a17090aa60c00b0028b2a790dcdmr5643661pjq.67.1704206630214; Tue, 02 Jan 2024 06:43:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704206630; cv=none; d=google.com; s=arc-20160816; b=X2XeiOJB8Q0gKGtKgp1g6Fm7ZaS6dGd7Us66xUClCB1NTFXoOMO2k4OpHxzM9copPk IC9hgWxEEVIu6JeRvTzYE0OZNjgLkU0VqvOI5C/kdNeDoIWjNqkVRI8GP65low5cnIHg KiovEuiucu8Fav9wj1YNA2zHnM8/xRcYOArsFw5E22TgwKW7cDEO+A3uJWH81v4y1bZA vhsIyTDULGwEDjoOaUI94CZuZXTz4wc2MfRQxJhIyWJUb53wY0XWFDIUIS5j/3aJdeCe QgPg4fvhSbvNmPx+kmN7slHzrw2sNWP/OmPxKfhiIpBHdEdmvZDwPKwsVNcxNN4uhgGF V/2A== 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=nMN2ZiX5fBPheidUVHXBOQeJqaVq22NMKNPrKMlBIko=; fh=mnX3wLuzTrkmgdlNsEgQXOForHn3WUzT3G0xt8tsRls=; b=TyXH0Mi8Oz8wpepYLaXzeMJVAR4GZIVoyJuTMhHLuoxs5AvRlYVpD/syeQuCfJYyhz +weswux5rx6dxkjJYN0NF/j0ctn9dQATuK8UKk9B1HL8uEoEvHXISgL7MWHd0PXAEIoq vabAUWsGAsZ/x5znHd8+ANu+Av5HpFQK4jpPB3n/du5TnOuBbQIf4O0NI8vlpPvabJ74 jpD+hVxDrwnxYFwsuYpciqyXyk521ihyGCPyZ3binqwkagfgD7lxK3luEyBZitTDR2L1 3gKVpJ67tfMzsZVtERL5lUxNqPtdPuYb0KacDMG33fZwVNopF3wonVIG8+L5GojhjKL3 bl4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=NEFPA7vn; spf=pass (google.com: domain of linux-kernel+bounces-14501-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14501-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r1-20020a17090a2e8100b0028b3fd4d4b1si4049254pjd.0.2024.01.02.06.43.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 06:43:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14501-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=NEFPA7vn; spf=pass (google.com: domain of linux-kernel+bounces-14501-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14501-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 D653C2839B4 for ; Tue, 2 Jan 2024 14:43:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01EFE12E5A; Tue, 2 Jan 2024 14:39:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="NEFPA7vn" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 985B71773D; Tue, 2 Jan 2024 14:39:12 +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 (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 402DrFMW030277; Tue, 2 Jan 2024 14:38:56 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=nMN2ZiX5fBPheidUVHXBOQeJqaVq22NMKNPrKMlBIko=; b=NEFPA7vnFk6X9GPS8sFiMjJAtY75cGHdTmLvGSk5Je/YgLCupxWV3EUPGvxEjAbwoHDY 2dNEsUwhGblerqNvLaMvmeUEQ53Rr8YqQ0pMonFpTK2h4KBBAsdpiRvxVEbUFUx+TQTl ++kGJyjvu2hhBlWp4nLtYsEVgK5HgZX2Au/OE9F4SQ6VR1fgeb68Nb+Be5hJdbAIAaO/ 24wHoBOFAagWfY9KvHEyIaV1f4DMBkFN9/tG3Sz1LpCEf4YqUckChANqIFBDNXfnOMiw kInuz6kiV3cOO+1BB2Cvmikp7gS70EPKXaUHn9fQZbBf3MrVtuXCNYr6918cSDP6DRCl YA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vckrss3mg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Jan 2024 14:38:55 +0000 Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 402ESQmP022837; Tue, 2 Jan 2024 14:38:54 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 3vckrss3kq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Jan 2024 14:38:54 +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 402CCo8h018138; Tue, 2 Jan 2024 14:38:53 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3vayrkd0gw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Jan 2024 14:38:53 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 402Eco3o12387020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 2 Jan 2024 14:38:50 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6D9C32004E; Tue, 2 Jan 2024 14:38:50 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3108320067; Tue, 2 Jan 2024 14:38:49 +0000 (GMT) Received: from osiris (unknown [9.171.22.30]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTPS; Tue, 2 Jan 2024 14:38:49 +0000 (GMT) Date: Tue, 2 Jan 2024 15:38:47 +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 24/34] s390/cpumf: Unpoison STCCTM output buffer Message-ID: <20240102143847.6306-B-hca@linux.ibm.com> References: <20231213233605.661251-1-iii@linux.ibm.com> <20231213233605.661251-25-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-25-iii@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: tigr5Z3z0BxX2AirZXNHzagI1bfeH5jj X-Proofpoint-ORIG-GUID: qfT-irTXYoFc-48gwcgYv32GP9D1i41z 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 lowpriorityscore=0 adultscore=0 malwarescore=0 bulkscore=0 spamscore=0 phishscore=0 mlxlogscore=623 priorityscore=1501 suspectscore=0 clxscore=1015 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401020112 On Thu, Dec 14, 2023 at 12:24:44AM +0100, 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 > --- > arch/s390/include/asm/cpu_mf.h | 6 ++++++ > 1 file changed, 6 insertions(+) Acked-by: Heiko Carstens