Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5297388imw; Wed, 20 Jul 2022 03:01:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sSzSAtShB+YTX8puCDPZBVrFQ+yykE8K+Vr9ERITGTXgOI7eaTV/56AecUGvRAVuI/tIA8 X-Received: by 2002:a17:906:9b86:b0:72f:56db:ccf3 with SMTP id dd6-20020a1709069b8600b0072f56dbccf3mr6662672ejc.422.1658311280306; Wed, 20 Jul 2022 03:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658311280; cv=none; d=google.com; s=arc-20160816; b=Ye5HVyE5FGgE9+G4QwjDU+P+O0uXeOMT47R4y5DqKAdjr4rAE5sCvJsCgv5OWN3Yz1 iT6gBN13xfIF6B617ffczQepBeVGAGtzaNC6YrIY2i/N6VFAWTn1EaZiOEZoi1zzGmuA VAbvYUz6B1usBbkV3kuKse5chrVeDO1qnNp8EJCh94ulqAC+QrPnayFHBdcNzdOArrv4 6MnldY/aq4qy9DSF/W+muSovQi7OChe8Uoy2GXHEaIDu+UXCs+ZukHajioFmcu5UGGNh 1EBJMQJmuW23AaYCLGTezmVad8USB0u9f733AZqFvvUHPdS5oQ+y39ktkeoLy5hYdy0i OIWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3IVm3dRidrUMpJPgr6uvEFc2Q2XZwLujB5od9JKNv/8=; b=G+QuMBU3EqLTpEhQ3PZGJWeFhmwBtDfcmlL8upzjGWa/rZESqYXEW1+YJG40UfVWF8 APRYUJ4SRfDTSzOo0P0oNBAqRkC+EGMtJ1ihWjSze4FUC+ZzYAKWCvtRopDt0kHp0XSI Wpuw3HSMMK3v1qAkOtH05TqSyhyJrTppa8UnjH5kTOdshwB5Hj5tuHc5czNACWi5gwbx 24WJ41Da7M7oeOfq+jNbWra7CNNA0JIfQCKG4KefOHnnTA6roPBlOAtKMxW1G7kkx6JI bz01RSHY6N7L/xJjiFh4Z9celb0IgZCpWetXzbwwNbETN7M/7TYBo+7b5g36JmZ8yaD/ 8Uyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=cwe64IaL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e41-20020a056402332900b0043a86563d91si15726028eda.39.2022.07.20.03.00.54; Wed, 20 Jul 2022 03:01:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=cwe64IaL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S237547AbiGTJsL (ORCPT + 99 others); Wed, 20 Jul 2022 05:48:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235316AbiGTJsK (ORCPT ); Wed, 20 Jul 2022 05:48:10 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5077655B8; Wed, 20 Jul 2022 02:48:08 -0700 (PDT) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26K97lFU032028; Wed, 20 Jul 2022 09:47: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=3IVm3dRidrUMpJPgr6uvEFc2Q2XZwLujB5od9JKNv/8=; b=cwe64IaLaggak1WE3f7mQ3uqlo31v54rKro/FH/x2Obfo+jR0uCBYnXe3oHK1gFK+CYO JaLFsBEmWbJ4qV+AZudaX8DBUhvHFDtbo4hd0jZoGGJKKR1FptEtQAD3azbZnxsMckuN 9g8PJW/8AwIkYFb2R3tYRfGqORvhZOsnZ67vN5PHy1LrSEJgF3VCJLg2u9aJbPbFkwwC varKI4xxbrekqaQsXjg+9LOx8QBbrYef3TwcOPax2nK/92Zaa+iuLTPEtAA3kDxC5G0v G+OJcYbiPSWsRS8JllgSmFnhg2hTTBTRunrSuw18WdNps3IWKvfesDzIO2gMFvj/fL/q UQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3hedpe2p3h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Jul 2022 09:47:56 +0000 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 26K98Tmg003361; Wed, 20 Jul 2022 09:47:56 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3hedpe2p2n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Jul 2022 09:47:55 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 26K9anXg023077; Wed, 20 Jul 2022 09:47:54 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma04ams.nl.ibm.com with ESMTP id 3hbmy8wdq7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Jul 2022 09:47:53 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 26K9lpfH24510802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Jul 2022 09:47:51 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EF256A404D; Wed, 20 Jul 2022 09:47:50 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9079AA4040; Wed, 20 Jul 2022 09:47:50 +0000 (GMT) Received: from osiris (unknown [9.145.148.254]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 20 Jul 2022 09:47:50 +0000 (GMT) Date: Wed, 20 Jul 2022 11:47:49 +0200 From: Heiko Carstens To: Alexander Gordeev Cc: Matthew Wilcox , Alexander Egorenkov , Baoquan He , Christoph Hellwig , Vasily Gorbik , Al Viro , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: Re: [PATCH v4 0/4] s390/crash: support multi-segment iterators Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: l5ViG2XHGvEEK2aOc7vE6w9Uk8HkBk53 X-Proofpoint-GUID: qnn1gR2zsL9LmXG2mKm9Z71nXqA38Lwa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-20_05,2022-07-19_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 clxscore=1011 adultscore=0 mlxlogscore=746 priorityscore=1501 impostorscore=0 phishscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207200039 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 19, 2022 at 07:16:32AM +0200, Alexander Gordeev wrote: > Hi Matthew et al, > > This series completes 5d8de293c224 ("vmcore: convert copy_oldmem_page() > to take an iov_iter") for s390. > > Changes since v3: > - concurrent access to HSA and oldmem swap buffers protected; > > Changes since v2: > - Matthew Wilcox suggestion is adopted, with that... > - copy_to_iter() is used instead of custom implementation; > > Changes since v1: > - number of bytes left to copy on fail fixed; > > Thanks! > > > Alexander Gordeev (4): > s390/zcore: fix race when reading from hardware system area > s390/crash: move copy_to_user_real() to crash_dump.c > s390/crash: use static swap buffer for copy_to_user_real() > s390/crash: support multi-segment iterators > > arch/s390/include/asm/os_info.h | 17 ++++- > arch/s390/include/asm/sclp.h | 4 +- > arch/s390/include/asm/uaccess.h | 1 - > arch/s390/kernel/crash_dump.c | 114 ++++++++------------------------ > arch/s390/mm/maccess.c | 26 -------- > drivers/s390/char/zcore.c | 55 ++++++++------- > 6 files changed, 71 insertions(+), 146 deletions(-) FWIW, Acked-by: Heiko Carstens