Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3386268pxf; Mon, 22 Mar 2021 05:21:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgh/bg5iBBNRBxzWE7CnoMFI8GpufoQOdzfUB+MdrwnasTzSlCMhkYf8u8ZvIqgTGURvun X-Received: by 2002:a05:6402:17af:: with SMTP id j15mr25394003edy.50.1616415668091; Mon, 22 Mar 2021 05:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616415668; cv=none; d=google.com; s=arc-20160816; b=ogZDtU9NM4AqonlxpPIMrQI10k2UO4q064y9NXtNRBqowd6BwCXGPkhfEaklDiq01y OI84cg4sk/KnBzzlIeKIShRySSzyq2JZDQ/pKKudPrF+YdtgtQIHjUUAhuKcY03jYbbw Kmm8QFtJeEmqb2v0tV+g9z6/sRaTmZaYOF/o0QxTcCjTEn9cJw4mUWUfWTHvz1CinnrP 6aPgPMfU4LB7ACX7VojyQmuO+otizXWGLH1mC5Fd7uaSek75QgnVKxjzcBasmxoQmYD8 kfkBjrlmCW4o5d36to7A9BoB7MA2reDWRzuJETx6eVcUApwQZLA1taMaqybwKs85kE9U zDDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=AqHNz9M0siufI5CPHNCyB+wHvM2fdYlg0rR9v3o22x0=; b=KkK5+10oEHgnYfckMjC/5KliUGqOVfD+DdS2CHcC2XW7dagssfz7I9sn5A1RM5hj8t dGvgywdMDSEb/rtsObKHFlu8a916CflnRnv/ovGrJublMi5qX+psGnvQqdvWnHDafrx+ 0cPKtpPqewZyx2c8B9k6MV67esKX8cZZUuGaUx7tg094vzmIvpe5YsK3xEIUaQnUJaWe UD7yv1likr54H+2qkOIGSK7mlAFi/2R3EcMtfzQBihesgz1vC3LioTJd4ZGCgAjh1DmC TYsywpQqeU4osA68CkTduR6PCN2+lY23Pxxwm4gDviEe6BbzH3RWNGWz5a/caBYiOEgs PmmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="GF8mvBZ/"; 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 ca24si11133057edb.330.2021.03.22.05.20.45; Mon, 22 Mar 2021 05:21:08 -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="GF8mvBZ/"; 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 S230262AbhCVMTp (ORCPT + 99 others); Mon, 22 Mar 2021 08:19:45 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:23458 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229905AbhCVMTK (ORCPT ); Mon, 22 Mar 2021 08:19:10 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12MC4s8h114258; Mon, 22 Mar 2021 08:19:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=AqHNz9M0siufI5CPHNCyB+wHvM2fdYlg0rR9v3o22x0=; b=GF8mvBZ/gUIyj7xX+O79zvJYmwWAO4WjHldn/dACeTw3XN59si7oH+NkWcq/2m6+DYMQ kEaiQq1kx1HbIJPWIRTSDLyfXcZrd210a8b3PjVDfU0amDrd+VtiadJIZdUfq8Vc8aBW 9gcdQfrT3+uWxIj5fln+M7Jyt+Vqi//phk/oQ2Wwt+a0p355SykKfKwfRxyk0oWOVg7t XvTF/WDZ+YcE1B+AWGpY7G6JSC+lJwBQv1SjsK5/VUAnGk5fHzUsdwS6YTiduBup833m eyXg5uU/KzGLnZxXA00+t6D6/kclXoWcMEpSULXMvxEBPkYO40O/H8ZvbQUBo2GZ+H33 1A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 37effkfjnt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Mar 2021 08:19:07 -0400 Received: from m0098419.ppops.net (m0098419.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 12MC5ZWS116853; Mon, 22 Mar 2021 08:19:06 -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 37effkfjmn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Mar 2021 08:19:06 -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 12MC6hIV018959; Mon, 22 Mar 2021 12:19:04 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma06ams.nl.ibm.com with ESMTP id 37d9bmjaea-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Mar 2021 12:19:04 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 12MCIiPt34603492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Mar 2021 12:18:44 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DA0C2AE055; Mon, 22 Mar 2021 12:19:01 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5EB4BAE051; Mon, 22 Mar 2021 12:19:01 +0000 (GMT) Received: from oc7455500831.ibm.com (unknown [9.171.7.234]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 22 Mar 2021 12:19:01 +0000 (GMT) Subject: Re: [PATCH v1 1/2] s390/kvm: split kvm_s390_real_to_abs To: Heiko Carstens , David Hildenbrand Cc: Thomas Huth , Claudio Imbrenda , linux-kernel@vger.kernel.org, frankja@linux.ibm.com, cohuck@redhat.com, kvm@vger.kernel.org, linux-s390@vger.kernel.org, stable@vger.kernel.org References: <20210319193354.399587-1-imbrenda@linux.ibm.com> <20210319193354.399587-2-imbrenda@linux.ibm.com> From: Christian Borntraeger Message-ID: <43e5cf87-d811-3c0c-b605-f64baa9ae006@de.ibm.com> Date: Mon, 22 Mar 2021 13:19:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-03-22_07:2021-03-22,2021-03-22 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=999 spamscore=0 adultscore=0 clxscore=1011 suspectscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103220089 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22.03.21 12:12, Heiko Carstens wrote: > On Mon, Mar 22, 2021 at 10:53:46AM +0100, David Hildenbrand wrote: >>>> diff --git a/arch/s390/kvm/gaccess.h b/arch/s390/kvm/gaccess.h >>>> index daba10f76936..7c72a5e3449f 100644 >>>> --- a/arch/s390/kvm/gaccess.h >>>> +++ b/arch/s390/kvm/gaccess.h >>>> @@ -18,17 +18,14 @@ >>>> /** >>>> * kvm_s390_real_to_abs - convert guest real address to guest absolute address >>>> - * @vcpu - guest virtual cpu >>>> + * @prefix - guest prefix >>>> * @gra - guest real address >>>> * >>>> * Returns the guest absolute address that corresponds to the passed guest real >>>> - * address @gra of a virtual guest cpu by applying its prefix. >>>> + * address @gra of by applying the given prefix. >>>> */ >>>> -static inline unsigned long kvm_s390_real_to_abs(struct kvm_vcpu *vcpu, >>>> - unsigned long gra) >>>> +static inline unsigned long _kvm_s390_real_to_abs(u32 prefix, unsigned long gra) >>> >>> >>> Just a matter of taste, but maybe this could be named differently? >>> kvm_s390_real2abs_prefix() ? kvm_s390_prefix_real_to_abs()? >>> >> >> +1, I also dislike these "_.*" style functions here. > > Yes, let's bikeshed then :) > > Could you then please try to rename page_to* and everything that looks > similar to page2* please? I'm wondering what the response will be.. Given that this is stable material (due to patch 2), can we try to minimize the bikeshedding to everything that his touched by this patch? Claudio, can you respin the series addressing the comments? I will then either add this to next or fold that into the existing next patches. Not sure yet.