Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3920347ybp; Sun, 6 Oct 2019 23:36:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwujVdw8W2Y+ViF/UB7V3qWfuEm0zyYj3bOKFvruxQacfJ8IowIGIc9loKmc+96dxChPo/L X-Received: by 2002:a17:906:7fda:: with SMTP id r26mr22098847ejs.170.1570430182411; Sun, 06 Oct 2019 23:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570430182; cv=none; d=google.com; s=arc-20160816; b=CuOIzNw/SFt4RQ/ztv0F7ci2E6RSHeZ8eC9sj//Yb8dcr0CwdxnKjzFw4KbwIlCEsy AZJMiixN60tB6DaLvs96CC4x0yjMrm0Ld+lREaG/dcfTHiGt9ZV4fzYTLKmt77bcHu6S hWsAwTBoop4i9ZK9B+r/nccH7lyHTxek1cUwd8MpaB7TLxXDMG8XacInu1eG07KE6oV3 11fXpW2M4wDrnIEbm8ySqnDWb7XWwOlL3Rj++afIBnSsWKtpJr4K8DysLwkbpeq9pID7 WaebKm3NrYH2L1uemyPTK/OBlspPsz0xHgzR2M4Wm20G07WZztTinuz4fMo7BLinSVBG pCug== 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=FtWIvGRqHdyAgWxM3iMBYTVEi38/Rrsf/9j5kc4R5fw=; b=Mkql/PIlfUXMBTq03eKEsR4ZTWUPfr6Sq149laFUmrCAVQiaXMxfEzR2Cc4miJdxtV ERRy6l57bO4yVcjVPGR2DyYxWuKL5OP5hsgO8LHShNG/nBqP9gxXEuOcA2C+TFMEzNOV O9cVx9xpYTK53sVw3+zDi6/otvDoJ/TbVxK2g3mcE9Ju3SMspSH099fLRN3gEUTTg8zW rwfWBJbY02o7t0Udkj07gYLj0tqF2uyh7CJZeIW3gqG8a9TpUikCmr5sNCDwTB2fXtAx /KJB3oU8yWRJni+nZIOxMJBMSgfss6XLIFsYbgZSIwM8kT2srYL9s3iX+say4RIL15AM rhwA== 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 sa16si6695439ejb.356.2019.10.06.23.35.57; Sun, 06 Oct 2019 23:36:22 -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 S1727101AbfJGGf1 (ORCPT + 99 others); Mon, 7 Oct 2019 02:35:27 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:53154 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726202AbfJGGf1 (ORCPT ); Mon, 7 Oct 2019 02:35:27 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x976RuBK076984 for ; Mon, 7 Oct 2019 02:35:26 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vfsm0fsyg-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 07 Oct 2019 02:35:25 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 7 Oct 2019 07:35:23 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 7 Oct 2019 07:35:18 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x976ZHmA30474434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 7 Oct 2019 06:35:17 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B99C45204F; Mon, 7 Oct 2019 06:35:17 +0000 (GMT) Received: from [9.124.31.69] (unknown [9.124.31.69]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 26E4152059; Mon, 7 Oct 2019 06:35:16 +0000 (GMT) Subject: Re: [PATCH v4 0/5] Powerpc/Watchpoint: Few important fixes To: mpe@ellerman.id.au, mikey@neuling.org, christophe.leroy@c-s.fr Cc: npiggin@gmail.com, benh@kernel.crashing.org, paulus@samba.org, naveen.n.rao@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Ravi Bangoria References: <20190925040630.6948-1-ravi.bangoria@linux.ibm.com> From: Ravi Bangoria Date: Mon, 7 Oct 2019 12:05:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <20190925040630.6948-1-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-cbid: 19100706-0016-0000-0000-000002B4B6A0 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19100706-0017-0000-0000-00003315CB86 Message-Id: <19b222ce-3013-7de5-1c04-48c6fd00fe81@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-10-07_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=931 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910070068 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/25/19 9:36 AM, Ravi Bangoria wrote: > v3: https://lists.ozlabs.org/pipermail/linuxppc-dev/2019-July/193339.html > > v3->v4: > - Instead of considering exception as extraneous when dar is outside of > user specified range, analyse the instruction and check for overlap > between user specified range and actual load/store range. > - Add selftest for the same in perf-hwbreak.c > - Make ptrace-hwbreak.c selftest more strict by checking address in > check_success. > - Support for 8xx in ptrace-hwbreak.c selftest (Build tested only) > - Rebase to powerpc/next > > @Christope, Can you please check Patch 5. I've just build-tested it > with ep88xc_defconfig. @mpe, @mikey, Any feedback? @Christophe, Is patch5 works for you on 8xx? Thanks, Ravi