Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8717644ybi; Tue, 9 Jul 2019 21:55:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6zwO/Lzv3W6RF8MIRxan8RReM3M69aQV9xGdx8CeIjWTao47I7+0+63D212juuQJ8dp0m X-Received: by 2002:a17:90a:710c:: with SMTP id h12mr4443556pjk.36.1562734558423; Tue, 09 Jul 2019 21:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562734558; cv=none; d=google.com; s=arc-20160816; b=nidao+M9ck0N+KYc+imoXnfeVECfNvpU+v9nltjaEKY0fAfuMR+Hf23KyGMAZJjHaz dsfZhgvsxdlA/TSTqhrDt+gdCYJLuXu/t9S31kM9vX+eRg/zDIlqP7XZI/JsIFEAhcX2 ADxivUyU8mluZeL6WvTIh8AlVnlMZb9s+qlVCHb3G5OOfUJ69LWwMLY8WrQMk3bM/gry jHsmXNBM3AeoaOK5sqTj+IWajWevBs8o116X9FGGTMLEV/jSUk6pW7Fw4YF/3eJY9iwK PvsX0y1mLBzZ4doUrnhiL08DV6VLppfRQFjNerm7306P3ue1onn6mok4WrJsCHykf7Ne uGow== 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 :mime-version:date:subject:cc:to:from; bh=X3AlRgfeiX3xhrW+enpubKY9g0XMRiUoH0Kq4e2aZ3o=; b=DckCDHzyVWc13RcmRSaAfeN8yTfKM/RZAN995LmFW+Oz7H51l9WbcBYYwlTqmT0Tp0 MLa+PsD/63HdEyjFH7AKFhtAhzHJL+NutaAMKCc3yj+BlsuDReQIhcTc/MieUzFcB0aE UoeYj7s2Fvv2S4FPzVOL/ZO0xUlPWArJ8vJSGy1cjnVBpw3pX2iUtLmUKhqxvcG6Pxa6 qgtDXPg4OZy7H4ii9q8bjlQ0BxIavuQST2KExZJplg/JQcHSVizZwIz6r9GAbDKqfiCc yAZl2RQ+7q6WRcAHGJlGq0T2m6Y4+sq+OSx9P46d8Yzf35HvuPn+U3y8YiQ4TnzrKqpV BriQ== 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 m68si1173604pfb.75.2019.07.09.21.55.32; Tue, 09 Jul 2019 21:55:58 -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 S1726125AbfGJEzH (ORCPT + 99 others); Wed, 10 Jul 2019 00:55:07 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:25872 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725839AbfGJEzH (ORCPT ); Wed, 10 Jul 2019 00:55:07 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x6A4rEHf089930 for ; Wed, 10 Jul 2019 00:55:06 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2tn651dr4m-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 10 Jul 2019 00:55:05 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 10 Jul 2019 05:55:04 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 10 Jul 2019 05:54:59 +0100 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 x6A4swsM18022644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 10 Jul 2019 04:54:58 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7BC07A405F; Wed, 10 Jul 2019 04:54:58 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B27A9A4059; Wed, 10 Jul 2019 04:54:55 +0000 (GMT) Received: from bangoria.ibmuc.com (unknown [9.102.1.122]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 10 Jul 2019 04:54:55 +0000 (GMT) From: Ravi Bangoria To: mpe@ellerman.id.au, mikey@neuling.org Cc: benh@kernel.crashing.org, paulus@samba.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, npiggin@gmail.com, christophe.leroy@c-s.fr, naveen.n.rao@linux.vnet.ibm.com, Ravi Bangoria Subject: [PATCH v3 0/3] Powerpc64/Watchpoint: Few important fixes Date: Wed, 10 Jul 2019 10:24:42 +0530 X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 19071004-0012-0000-0000-00000330D9C3 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19071004-0013-0000-0000-0000216A40EE Message-Id: <20190710045445.31037-1-ravi.bangoria@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-10_02:,, 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=786 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907100059 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: https://lists.ozlabs.org/pipermail/linuxppc-dev/2019-July/192967.html v2->v3: - Rebase to powerpc/next - PATCH 2/3 is new Ravi Bangoria (3): Powerpc64/Watchpoint: Fix length calculation for unaligned target Powerpc64/Watchpoint: Don't ignore extraneous exceptions Powerpc64/Watchpoint: Rewrite ptrace-hwbreak.c selftest arch/powerpc/include/asm/debug.h | 1 + arch/powerpc/include/asm/hw_breakpoint.h | 9 +- arch/powerpc/kernel/dawr.c | 6 +- arch/powerpc/kernel/hw_breakpoint.c | 33 +- arch/powerpc/kernel/process.c | 46 ++ arch/powerpc/kernel/ptrace.c | 37 +- arch/powerpc/xmon/xmon.c | 3 +- .../selftests/powerpc/ptrace/ptrace-hwbreak.c | 535 +++++++++++------- 8 files changed, 413 insertions(+), 257 deletions(-) -- 2.20.1