Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp220623pxk; Tue, 1 Sep 2020 22:16:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSrnxWu7KWrIJADSTqHjzBozfu3LdxowaXQANMg6qFEDXBTcANtD1B4Ktv+oZ7TmFG0izm X-Received: by 2002:a17:906:29ca:: with SMTP id y10mr4522133eje.327.1599023777824; Tue, 01 Sep 2020 22:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599023777; cv=none; d=google.com; s=arc-20160816; b=H7WJrpzvVUD/dGaOewk5ChsxF+yeK58xMPaSIDmhZGMg6TGfL/gUvk2emaukwqDML9 cceJ+P/MiGwaa6sxNeL8N3GDxaG26H55FffSswcjYzqiQQlX++WYCJQuTjTeb0GhjmqL 4UVul2bBQ0xCwf2Hef7df4Qbr53KmHyeit5S+LNUYuMH+CmeNeFtRyCC9mlQzfoDK19n KoKrNz3Xo7B2I0B1RD8xqmDe3AMp+qVfHSe/V1dMFH1sE0mLfa7JGDbDWLBCi+MnW9zb /A9Q+KTllP8sdW4/ckqPB8LKnBFDl5jFXVe+xw1WcWtsvxc7rvXgo8N7xbaGqCVHZ4Na kY/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=bIGFzVvK3mWzxP0nJd5m5GRXVrNpNt/IQfz5HeDDTxI=; b=D4IrShNk1TC1aXZmlGBioi7ynU9NBJUr7eIse/SBXvuSIf5p1o6Au42O43OcKyY+Xc MxfX/ktLDT0LfZX5hqW6GHbSzzKjokpEIpWbedUJv+AqZrEEaF8NgxCNpc/UUXUDmOZr bi56f97Kg5vbHTCWqlduI2xbup9AHo2O86JsqQwfID5isScY1HUsXxm8C6HNjhIoV/S4 FU9bgvKGSBO3r94pxnuHYHhgi8TNDYMlgqD/+23TiPlHU4fl1wKCnCt7YEcsch5JC6xC 3eZtLC8GoyFs1U2HMXNqNCh5gqZ5akawoeljWcPF5BbDjKhvPtbUhAjmz2bdloykK3MP 9qyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=HYVROfTe; 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 s7si1759023edj.515.2020.09.01.22.15.53; Tue, 01 Sep 2020 22:16:17 -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=HYVROfTe; 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 S1726528AbgIBFMy (ORCPT + 99 others); Wed, 2 Sep 2020 01:12:54 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:1986 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726144AbgIBFMx (ORCPT ); Wed, 2 Sep 2020 01:12:53 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08252CAq171274; Wed, 2 Sep 2020 01:12:29 -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=bIGFzVvK3mWzxP0nJd5m5GRXVrNpNt/IQfz5HeDDTxI=; b=HYVROfTeUjbIzdzHuXCqBlQ/HV7kglZIsFpw+dZP6ImDiV1NcE0j75/j9N0oEy7cmtJX 62j7t86jIgZCtgzM7/cxn3PrkvmCD5AXcBedxtCOYm1MQmQ4NBhMStXE2E/0STBRme0T wZ3IHWQcWAS8yRANIV3BUYnDZARDhj/0eyD/+Ci4vBvDV4nkWZa6+Z/tWo2ApPFhxkCV 13q82thfoTEX4XrByNmWkVJ76q7/KiPd6n1oKyGTlsDsMrf0GPrdoQpbreQ5KQEJvjhK xgdghCVn20W8Na7J5MbjqBFM0/wBQq0RNpr66184K/eImViJDjCQJzCJyYS1lHqa0sU6 1w== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 33a45u97c3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Sep 2020 01:12:29 -0400 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 082540mA176515; Wed, 2 Sep 2020 01:12:28 -0400 Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 33a45u97be-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Sep 2020 01:12:28 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 08254BDZ006971; Wed, 2 Sep 2020 05:12:27 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma03ams.nl.ibm.com with ESMTP id 337en8c93j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Sep 2020 05:12:27 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0825Ap7L56099150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 2 Sep 2020 05:10:51 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A1584A4054; Wed, 2 Sep 2020 05:12:22 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 23230A405F; Wed, 2 Sep 2020 05:12:19 +0000 (GMT) Received: from [9.199.37.120] (unknown [9.199.37.120]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 2 Sep 2020 05:12:18 +0000 (GMT) Subject: Re: [PATCH 2/7] powerpc/watchpoint/kvm: Add infrastructure to support 2nd DAWR To: paulus@samba.org Cc: mpe@ellerman.id.au, mikey@neuling.org, npiggin@gmail.com, pbonzini@redhat.com, christophe.leroy@c-s.fr, jniethe5@gmail.com, pedromfc@br.ibm.com, rogealve@br.ibm.com, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kselftest@vger.kernel.org, Ravi Bangoria References: <20200723102058.312282-1-ravi.bangoria@linux.ibm.com> <20200723102058.312282-3-ravi.bangoria@linux.ibm.com> From: Ravi Bangoria Message-ID: <04938d51-4b93-d02a-9edd-39ce781b8d5d@linux.ibm.com> Date: Wed, 2 Sep 2020 10:42:18 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200723102058.312282-3-ravi.bangoria@linux.ibm.com> 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.235,18.0.687 definitions=2020-09-02_02:2020-09-01,2020-09-02 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 impostorscore=0 spamscore=0 phishscore=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 mlxscore=0 priorityscore=1501 suspectscore=1 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009020042 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, > diff --git a/arch/powerpc/include/asm/hvcall.h b/arch/powerpc/include/asm/hvcall.h > index 33793444144c..03f401d7be41 100644 > --- a/arch/powerpc/include/asm/hvcall.h > +++ b/arch/powerpc/include/asm/hvcall.h > @@ -538,6 +538,8 @@ struct hv_guest_state { > s64 tb_offset; > u64 dawr0; > u64 dawrx0; > + u64 dawr1; > + u64 dawrx1; > u64 ciabr; > u64 hdec_expiry; > u64 purr; After this struct, there is a macro HV_GUEST_STATE_VERSION, I guess that also needs to be incremented because I'm adding new members in the struct? Thanks, Ravi