Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3295793ybi; Mon, 17 Jun 2019 21:28:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEFJ0GLtQ2E8tnmYfRsvwOz7Lt1xn4x76ncfk8lhRbaqIVyO0Y7c7ll7FEcDZ4qSjewLbg X-Received: by 2002:a63:2310:: with SMTP id j16mr794941pgj.238.1560832090363; Mon, 17 Jun 2019 21:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560832090; cv=none; d=google.com; s=arc-20160816; b=MsH7yO0GE5+Wz2w9KUnVcpzF7xp/0Phtx8KX975U9MCTrEYzH/L7l7WdbT0epeJZf6 coygx0W+XHFCtYTO2Mmq+o6/ipRSQuky2pJoT73J0DNaHXiCgTZAyxl4XlabIRANB+Qs 01hS4mimB4cXtiBllbMdnGrRNhMHELZHhhqq6ZXJvlVwlW6W18l+GwW1zK7U93vc30fa vebNgWW68AjPXajIOKjOh2qP/FujG6mYTRuiy26GJRt75HL8uNb8HbhWK7n9Swob+bJC u19lxqgz6tSKNThM+zXuI/pRatG1C5NFFRakXk5g/mD/i7sak7ldoPd8cVWObS/DTxNv 2Q9w== 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=4XsKk7M97g7FFoDB/9PnUEuHls7pWkLFeCwGkdplUCM=; b=BJgq4FSw3Q+cxwNYjfAwxMSLmC/X28qJlOfFuIZsC26PLlvJjpNi9k/vxXmreFsIO4 m+tmAuveZ3RPlfbZPOzqQtoTGumR6kWQUjm/KCK8MqL165q3VDh8+0gglRdeJboYRLpc zeWyRAha/m++kb/xzpAwahwF9atD+afb0ezTagP8eEdVB6ObNaNkvUlzdb+aRlua8A7o SzvYUwWW7YOB86oRQB12IgQJ12mXDdapglhqSu84PI/rVWkMaQh4T4rXIshzatzup+pi K5o5LfgIoEtrlpHwE+lDuEb+DrntWrhxHST/Nwv0N1i0t8cbBbJ7KeXvtUuS+uP0+JpN gATA== 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 x5si1154319pjp.75.2019.06.17.21.27.53; Mon, 17 Jun 2019 21:28:10 -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 S1726307AbfFRE1q (ORCPT + 99 others); Tue, 18 Jun 2019 00:27:46 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:23870 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725826AbfFRE1q (ORCPT ); Tue, 18 Jun 2019 00:27:46 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5I4Rdn7132493 for ; Tue, 18 Jun 2019 00:27:45 -0400 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2t6pwybnu1-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 18 Jun 2019 00:27:45 -0400 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 18 Jun 2019 05:27:43 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 18 Jun 2019 05:27:39 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x5I4RcMh42401976 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Jun 2019 04:27:38 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 74BF411C050; Tue, 18 Jun 2019 04:27:38 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F06B511C04C; Tue, 18 Jun 2019 04:27:35 +0000 (GMT) Received: from bangoria.ibmuc.com (unknown [9.199.63.86]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 18 Jun 2019 04:27:35 +0000 (GMT) From: Ravi Bangoria To: mpe@ellerman.id.au Cc: benh@kernel.crashing.org, paulus@samba.org, mikey@neuling.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 0/5] Powerpc/hw-breakpoint: Fixes plus Code refactor Date: Tue, 18 Jun 2019 09:57:27 +0530 X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 19061804-4275-0000-0000-0000034336F2 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19061804-4276-0000-0000-000038535CF8 Message-Id: <20190618042732.5582-1-ravi.bangoria@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-18_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=574 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906180035 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org patch 1-3: Code refactor patch 4: Speedup disabling breakpoint patch 5: Fix length calculation for unaligned targets Ravi Bangoria (5): Powerpc/hw-breakpoint: Replace stale do_dabr() with do_break() Powerpc/hw-breakpoint: Refactor hw_breakpoint_arch_parse() Powerpc/hw-breakpoint: Refactor set_dawr() Powerpc/hw-breakpoint: Optimize disable path Powerpc/Watchpoint: Fix length calculation for unaligned target arch/powerpc/include/asm/hw_breakpoint.h | 10 ++-- arch/powerpc/kernel/hw_breakpoint.c | 56 ++++++++++++---------- arch/powerpc/kernel/process.c | 61 +++++++++++++++++++----- arch/powerpc/kernel/ptrace.c | 2 +- 4 files changed, 86 insertions(+), 43 deletions(-) -- 2.20.1