Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp590463ybh; Wed, 18 Mar 2020 05:40:16 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvow/b2m+2QnMpU/ovav7QMDaXJdr9WWxYlOrY79BrM728Og2l0A1G0WpMBwUuBNOqdVaVw X-Received: by 2002:aca:b608:: with SMTP id g8mr3020617oif.142.1584535216396; Wed, 18 Mar 2020 05:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584535216; cv=none; d=google.com; s=arc-20160816; b=v5nWbIy/4Eqzo3RJppnXQ0WB2R84VCmHA5QA2SBjvcuGozWJwzQ4gLoA02FwBKbKMJ sRkN9OOS4OVElTgcpQFjqJPIy37LtDP1lWU2pRPddXmamvpn6wvo530iUFMvBTGkIKXF vsvOzQONl4YH14H4odK7iggkYJ4tMLOcybmosiAfPNTI5EEd1jnmtZAZ4vDqNJsKSG4t unm8h2iW58Ir6SNdJ+ExAwF1eXa43fltYpS3ILPx0t0GJaQExNjbj0zkb5t+ezjUjjGj ib1WnEXGBeZKs+d3XdkaKwEek6aYFxfic+DPESdODr+Lnu9MFCkm5gUIJKLLxM4TP8lb 7VSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject; bh=j2hKs1MJHLtEvCQtzPSenXlbA2CLe7TbdyGbJUiFKCA=; b=KhZUvykYLAeY6y5dW+fhGvlyjQyBRSASDBth20zrlGXOBxntF4OSrOW5fnI/7PLPik n/HF60H4dTEA+8fWGaE8hYHudMtOGcoYCx1eb2/Xu1y9hbGfZvwxsNoZWG9d0NXQ/U3e tyZi5+m6G2MgQl8baTQ6M1UfVNdwey8ToOfN05RfYEfIQPfrtOwiMq7tIZSgQUPggxvG yXUrmAhh3t1gVItM0aSt/KcEZOJYJSKZDgi0zBBT8ssRerSDOo4KfFh0NEKC6d6xOOTK IEQINSd8/5rOUtdptBo4NuCiEs1bMeQ3tqMtBR7WBgKmJKmY8HNGsUex0u/3Ro7dE2TU GgXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10si3333027otg.171.2020.03.18.05.40.03; Wed, 18 Mar 2020 05:40:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726802AbgCRMi1 (ORCPT + 99 others); Wed, 18 Mar 2020 08:38:27 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:51902 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726631AbgCRMi1 (ORCPT ); Wed, 18 Mar 2020 08:38:27 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02ICY0dW008394 for ; Wed, 18 Mar 2020 08:38:26 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2yu7frrgw4-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 18 Mar 2020 08:38:26 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 Mar 2020 12:38:24 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 18 Mar 2020 12:38:21 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 02ICcKRJ43188458 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Mar 2020 12:38:20 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3CA565204E; Wed, 18 Mar 2020 12:38:20 +0000 (GMT) Received: from [9.199.38.35] (unknown [9.199.38.35]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9C56952059; Wed, 18 Mar 2020 12:37:43 +0000 (GMT) Subject: Re: [PATCH 14/15] powerpc/watchpoint/xmon: Don't allow breakpoint overwriting To: Christophe Leroy Cc: mpe@ellerman.id.au, mikey@neuling.org, apopple@linux.ibm.com, paulus@samba.org, npiggin@gmail.com, naveen.n.rao@linux.vnet.ibm.com, peterz@infradead.org, jolsa@kernel.org, oleg@redhat.com, fweisbec@gmail.com, mingo@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Ravi Bangoria References: <20200309085806.155823-1-ravi.bangoria@linux.ibm.com> <20200309085806.155823-15-ravi.bangoria@linux.ibm.com> From: Ravi Bangoria Date: Wed, 18 Mar 2020 18:07:37 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20031812-0008-0000-0000-0000035F5540 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20031812-0009-0000-0000-00004A80AF93 Message-Id: <56ee9190-2363-efbe-fd94-0b42194e6586@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.645 definitions=2020-03-18_05:2020-03-18,2020-03-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 mlxlogscore=708 suspectscore=0 bulkscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 spamscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003180059 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/17/20 4:40 PM, Christophe Leroy wrote: > > > Le 09/03/2020 à 09:58, Ravi Bangoria a écrit : >> Xmon allows overwriting breakpoints because it's supported by only >> one dawr. But with multiple dawrs, overwriting becomes ambiguous >> or unnecessary complicated. So let's not allow it. > > Could we drop this completely (I mean the functionnality, not the patch). Not sure I follow. Isn't the same thing I'm doing? -Ravi