Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp346427pxf; Thu, 25 Mar 2021 05:40:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRwcwCw7UmNcovs3WjyvfhpCnJtRXBXkyt+ZqRMaLGnMOWLTeHhWsIdFh4W4H8NgI4ixdv X-Received: by 2002:a17:906:414e:: with SMTP id l14mr8828383ejk.406.1616676057461; Thu, 25 Mar 2021 05:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616676057; cv=none; d=google.com; s=arc-20160816; b=M6ZvXJTsZxcJHFoMZhdSqvzwrMiyAUlW0PtZ0KVpH88qCarud+V0cRw1z2kbDUclr/ SS7JTlIOF9cLs9luFSU0+CH4tDmQMdP9r0AonVG2aRCCjG/N7NqwL+qSOqD0e3AwOYBy mx6J0ww2cfKg/gR3A16ap/p0VhRtzURWrG9cbHs7tH9ZhzMwKM/lzHhZYCA7mEq4wWPm uB9tUW4bQB/0HeblnvNp3V25OTBUUsj+PWkvKdycOPx8Z7NqhUFya35ZmP3KziZWdYly T02xsB52pOS68t0BvlXkCvBJ34RTXgp/oM18RJ63erxTAYujM40wnV+vuNdYdG7U3Mk/ MEjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=znxeZ+KHsoOXlMx9IYGqvKSW2L0sty8CU/iSheoaFzg=; b=WRdE7PunQVuUphjefoRSNUZ7B0+Nn2FNj54OSEjlc/cztGpPCSmVOShbGxpLyKwkJp F/iI+tUi/KdhWmuDQalrAFrkZQ3rIgM/IL3HdRi8HjMuKN0jrdEkxEAWtlwHgyWq2dPD cLEt5sVZTeo9XoOsYB22O7aLakmOkFQBS2DLKHRUdcqazyiVraagls2HRzNrU0BSBfUK 38Cu4QA0UJ8iWsKLhSTGn35Qqk0UR8XBHP6aNVE7vjJqxQhYK1bQtuLRJao3vw6O9r+w 2XJurnaMZOMjZbFt2wJcG9rH3HEWvqDgv3ayfcBH5LFi7mVRMpYMOTK0NKBcHD6yldkL LpmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=HkLl9adx; 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 o21si4085126edc.377.2021.03.25.05.40.34; Thu, 25 Mar 2021 05:40:57 -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=HkLl9adx; 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 S230514AbhCYMis (ORCPT + 99 others); Thu, 25 Mar 2021 08:38:48 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:20976 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231193AbhCYMi1 (ORCPT ); Thu, 25 Mar 2021 08:38:27 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12PCXXpx028949; Thu, 25 Mar 2021 08:38:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pp1; bh=znxeZ+KHsoOXlMx9IYGqvKSW2L0sty8CU/iSheoaFzg=; b=HkLl9adxDnbR5Uo4Od8zWWZO7XI8nA9u+kR0mnDNvpZ0wgWBzNdH7gcrn+MGFsRS18Ya 2HCfMQ66SA+ZJ/AtYR3MAGDziu9MbKUdi/ey708uWYfWzfkuTs81lWyY1KI0nlb+FaHJ o2eZsloX1a9bGCcBsViw0o4yMIPfIUAJzD4WYPueSBxe6dbqaTMGxm3RT1QlUXInKA3W mYNJ9ZoI43BffdwFoT+cGf1Mv4LrGsiLCYF/Y+jlVGfVmFQHjK4yRG/8uMggbuBIAxHa qz+Cqzca8b1tH5z1XDL84ZGEmBAIvDooffFc6tCCmPzGASrJI+M5QOALuaIv/8BXHwBi uw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 37ghp0wrxv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Mar 2021 08:38:12 -0400 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 12PCYeJl034342; Thu, 25 Mar 2021 08:38:12 -0400 Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0b-001b2d01.pphosted.com with ESMTP id 37ghp0wrx6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Mar 2021 08:38:12 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 12PCRUkM008720; Thu, 25 Mar 2021 12:33:10 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma06ams.nl.ibm.com with ESMTP id 37d9bmnbky-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Mar 2021 12:33:10 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 12PCX7o846858504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Mar 2021 12:33:07 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7A9EA11C04C; Thu, 25 Mar 2021 12:33:07 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0A43E11C04A; Thu, 25 Mar 2021 12:33:07 +0000 (GMT) Received: from osiris (unknown [9.171.42.197]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 25 Mar 2021 12:33:06 +0000 (GMT) Date: Thu, 25 Mar 2021 13:33:05 +0100 From: Heiko Carstens To: Li Wang Cc: Alexander Gordeev , Vasily Gorbik , Sven Schnelle , Christian Borntraeger , Viresh Kumar , Thomas Gleixner , LTP List , linux-kernel , linux-s390@vger.kernel.org Subject: Re: [PATCH 0/3] s390 vdso fixes Message-ID: References: <20210323215819.4161164-1-hca@linux.ibm.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-03-25_03:2021-03-24,2021-03-25 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 adultscore=0 impostorscore=0 bulkscore=0 phishscore=0 mlxlogscore=962 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103250093 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 25, 2021 at 04:56:18PM +0800, Li Wang wrote: > Hi Heiko, > > On Wed, Mar 24, 2021 at 5:58 AM Heiko Carstens wrote: > > > Li Wang reported that clock_gettime(CLOCK_MONOTONIC_RAW, ...) does not > > work correctly on s390 via vdso. Debugging this also revealed an > > unrelated bug (first patch). > > > > The second patch fixes the problem: the tod clock steering parameters > > required by __arch_get_hw_counter() are only present within the first > > element of the _vdso_data array and not at all within the _timens_data > > array. > > > > Instead of working around this simply provide an s390 specific vdso > > data page which contains the tod clock steering parameters. > > > > This allows also to remove ARCH_HAS_VDSO_DATA again. > > > > Heiko Carstens (3): > > s390/vdso: fix tod clock steering > > s390/vdso: fix arch_data access for __arch_get_hw_counter() > > lib/vdso: remove struct arch_vdso_data from vdso data struct > > > > Thanks for the quick fix! I confirmed these patches work for me. > (tested with latest mainline kernel v5.12-rc4) > > Tested-by: Li Wang Thanks a lot for confirming! However I decided to go with the simple variant: https://lore.kernel.org/linux-s390/YFnxr1ZlMIOIqjfq@osiris/T/#m26f94fd8ac048421a4a8870e7259a09f97840a3e May I add your Tested-by there as well?