Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4706721pxb; Tue, 31 Aug 2021 11:16:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwm2jZLQdhl8FwGvO4MvqOZ05UUm/eHDlYFsj3EMzOSCRGcq+gPMZaqE+zJLWP8PD8WjcLC X-Received: by 2002:a05:6e02:ed1:: with SMTP id i17mr21588593ilk.272.1630433763513; Tue, 31 Aug 2021 11:16:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630433763; cv=none; d=google.com; s=arc-20160816; b=Q037RdcwGZpl0HTQtHYD9ufEMm0MlrfJXhfOUQJjNNE8UMz/fnPS1kKOOlQ1ikk1BH pi3A25fpl3iNg6WlW95VdwLUGQcJ1t58Jw3kcoGsz4y96AIu0ZkFMHA3j0UXGGtV+Y9Q iyC1+8jy0dEfHRFT7jjjHw2Fids/47ee9wGrQiUob4kbhp8t4FZzu6wzS7DDkquKD21r lpxAsn+Ikc22/15NrX9A8gv5tfDL0MqCTfzo6Rk8sYZJBpF+d11Lzdm5Pbo02V+s7xrG Knp1BkWas8JfIX3yEHdW2ThYAvdhr/poGk/JRoXg8FLMW2JlPs+zaGRFgWU8Ct2tBR7J d0Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:from :references:cc:to:subject:dkim-signature; bh=waumsmmml88R2izW3SRcXT3V7bQ00oJwTyLQe8u3BfM=; b=T4TkYXybkH+FDmISy+QKpg1y2JoMRvQQCOi/dB/Q/6ZeQPKLmPbQIvAT3hne3NrcHz P45eS+2Dhev0lLAdlZSUVQq09mp3Zpgk1ooyg+K/gnYiEKnivDH4s92wk5qIYMTXeN6G okfwffqmsuBtb8uz6oRxgaQ9lMg8wnBXw3zj2+TzgiSJAw3YxPs8UJnkqIa32j0+QgTJ 1PrG7b1F07lG/SmNWkTb76kt87LBXC4rZZiSDMOGZsTyk8nxolIaxHs7kwwIAAo8q1bf jqy9pvyKgJCqwqLQIsM+2cx396F356/BFyBIpA6DFbwrJ5o7yv/jp+E1tv1ZvWztrzky FzVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Gqj4htEq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v66si23394279iof.105.2021.08.31.11.15.48; Tue, 31 Aug 2021 11:16:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Gqj4htEq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234890AbhHaRvF (ORCPT + 99 others); Tue, 31 Aug 2021 13:51:05 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:49578 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233576AbhHaRvF (ORCPT ); Tue, 31 Aug 2021 13:51:05 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17VHXGhu091358; Tue, 31 Aug 2021 13:49:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=waumsmmml88R2izW3SRcXT3V7bQ00oJwTyLQe8u3BfM=; b=Gqj4htEq3GO+YfHG0w/NtLA5B0Ib2lLjjFDseT3+oopth3q4z/HTTL3nOXZHTh+p0wUy xj9lcdN0XEDf9G5kfToJB2fp6CZmv+oh0UbvINEd4qsAL92AE+FIJO1IlqjDfqyL69k8 5fqVUW9uliIlwTxE4oX3W1RFknDo23xkohVppk9+TqkoMkyJivgBnZ4X0LwTfZYsqQUJ rZ7gswegKLzbZdZwWghcaK1+Jh/qxKJPflXAF2p7fft/qp6QMU9h/ppHzK8idRzZRnXW t+Bz9aNUHIP2+qdpQtmzizs+hU5xuY9AQOxU3LvO4Lh1DDiiqfgLURU+yN2hNRmXiJO/ SQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3asrwdrdaj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Aug 2021 13:49:48 -0400 Received: from m0098414.ppops.net (m0098414.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 17VHb1Jj110777; Tue, 31 Aug 2021 13:49:47 -0400 Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0b-001b2d01.pphosted.com with ESMTP id 3asrwdrda6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Aug 2021 13:49:47 -0400 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 17VHhbAe010671; Tue, 31 Aug 2021 17:49:46 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma06fra.de.ibm.com with ESMTP id 3aqcdjdw6r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Aug 2021 17:49:46 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 17VHngD646596364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 31 Aug 2021 17:49:42 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A05A811C01F; Tue, 31 Aug 2021 17:49:42 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2D34E11C054; Tue, 31 Aug 2021 17:49:42 +0000 (GMT) Received: from oc7455500831.ibm.com (unknown [9.145.164.122]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 31 Aug 2021 17:49:42 +0000 (GMT) Subject: Re: [GIT PULL] s390 updates for 5.15 merge window To: Nathan Chancellor , Marco Elver , Richard Henderson Cc: Heiko Carstens , Linus Torvalds , Vasily Gorbik , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, qemu-s390x References: <82161448-2770-158c-fdd3-d253b4ae476f@de.ibm.com> From: Christian Borntraeger Message-ID: <4ae5cf63-4f86-5a1c-90b5-73912cfe42b9@de.ibm.com> Date: Tue, 31 Aug 2021 19:49:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: tG7oXRuJkBKfSqU52Bb8AcAD2OyC4aAw X-Proofpoint-GUID: 55j9Z09Cx1rM2uGuJFAy3N3HSgEE0aAd Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-31_08:2021-08-31,2021-08-31 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 clxscore=1011 impostorscore=0 adultscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108310096 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31.08.21 19:48, Nathan Chancellor wrote: > On Tue, Aug 31, 2021 at 05:02:15PM +0200, Marco Elver wrote: >> On Tue, Aug 31, 2021 at 12:46PM +0200, Marco Elver wrote: >>> On Tue, 31 Aug 2021 at 12:13, Heiko Carstens wrote: >>> [...] >>>> I really don't think this is QEMU related. The test fails are sort of >>>> expected: we've seen KCSAN reports when the kernel boots and wanted to >>>> fix them later. >>>> However I have to admit that I wasn't aware of the KCSAN KUNIT tests, >>>> and wouldn't have sent the s390 KCSAN enablement upstream if I would >>>> have been aware of failing self tests. >>>> >>>> We'll fix them, and I let you know if things are supposed to work. >>>> >>>> Thanks a lot for making aware of this! >>> >>> Note: Set `CONFIG_KCSAN_REPORT_ONCE_IN_MS=100` (or smaller) instead of >>> the default to make the test complete faster. >>> >>> The pattern I see from what Nathan reported is that all test cases >>> that expect race reports don't observe them ("not ok" cases), and all >>> those where no races are meant to be reported are fine ("ok" cases). >>> Without actually seeing the log, I'm guessing that no races are >>> reported at all, which is certainly not working as intended. >> >> I repro'd, and the problem is part QEMU TCG and a minor problem with >> stack_trace_save() on s390: >> >> 1. QEMU TCG doesn't seem to want to execute threads concurrently, >> resulting in no "value changes" being observed. This is probably just >> a limitation of TCG, and if run on a real CPU, shouldn't be a problem. >> On QEMU, most test cases will pass with CONFIG_KCSAN_REPORT_VALUE_CHANGE_ONLY=n >> (There's one left that requires value changes to be observable) > > Is this just a limitation of s390's TCG implementation or in general? > Our CI runs on GitHub Actions, which does not support virtualization so > I believe that all of our tests are being done with TCG and x86_64 > passes just fine: Maybe Richard knows? > > https://github.com/ClangBuiltLinux/continuous-integration2/runs/3473222334?check_suite_focus=true > > Good to hear that it is working on bare metal now though, we could still > enable build testing of it at a minimum but it would be nice to see the > tests pass even in QEMU :) > > Cheers, > Nathan >