Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5552227ybe; Tue, 10 Sep 2019 05:38:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzx3aD6Fdf8w+pt15TgJ01sBeopy5hC6ytb7Hv4uzkbD1qqCqEgy0gr7qx1++lic/hFtVKa X-Received: by 2002:aa7:dac5:: with SMTP id x5mr30601624eds.290.1568119133829; Tue, 10 Sep 2019 05:38:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568119133; cv=none; d=google.com; s=arc-20160816; b=FT29renIGukOuP5QQNf5B2hneptSMpNdbaybbeMwL2E9PUSZl2e7htijBgO1JMSLT2 D1d3oFCljIpQtUcDjXVV1N+tU+sz0K7wS0Z0WD88pEJrTgDE4Hq+kEQaz7A2R7O7pNau Ci6amFERfyEkGIYOlC5rdYvumCfJIneORuhBkjPZSayX6V1K55oJFFumdTQp2TgtHiLN hATC4fOkJzD6FNULZNES8o+0KQPTN1QAF7Vr5j6Umr41owZfzohSX9+rkraSZ76Z18O6 vJ+aekeAngL7oaGZirsg1RUQVNJfHSG9UGAfcmLA1ZaREZgQ/7Y2xjRdARuj4v8HBKaH 5kGA== 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=1PgGlSprSeIbOT0wT6D/m7gTOTRW3sm+0mnAEbklP5I=; b=giK+PuwdN6KVgnjnejBZLOJfGTPWaB5uGt52O5Q++kWHFRHnGYpfyznNjYsv47Mu7k C+wUlv4BHmpoeVoBd9d/+QiL6v6tc7nyQ7rI71UMc/JUuBEtCRZN25ryBam2sg4O1abX DDv6tkg9Sn0KwkZfOADQW4cV//QmEsNHlVArr85BwLVN2klib/V09KRXYxOJAlv/TCIR t/TcyDMo88rpTWriPQV3S47aB7JnvidlIlhueTUgl/bLa8yI0PRwe/ipex3dziGhu9bE ZljoH+ffRGOPsWqfAeJQXgsKIceXNomoJ6iPjr5vGVIF+GMPr1NONj4s5lgbnp1L3wDz +UJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=gK+teGnp; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si9070361ejf.152.2019.09.10.05.38.28; Tue, 10 Sep 2019 05:38:53 -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; dkim=pass header.i=@c-s.fr header.s=mail header.b=gK+teGnp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392135AbfIJKam (ORCPT + 99 others); Tue, 10 Sep 2019 06:30:42 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:24579 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729118AbfIJKal (ORCPT ); Tue, 10 Sep 2019 06:30:41 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 46SLsB5w8Gz9txVK; Tue, 10 Sep 2019 12:30:38 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=gK+teGnp; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id XYbDMiw_bo64; Tue, 10 Sep 2019 12:30:38 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 46SLsB4t61z9txV9; Tue, 10 Sep 2019 12:30:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1568111438; bh=1PgGlSprSeIbOT0wT6D/m7gTOTRW3sm+0mnAEbklP5I=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=gK+teGnpkbI6Ao/NmOh9iviJwDxU/R959RzQY8ZUTOTzhSOFf13ZoZZRCUsQwN4qz t211I/yxfd04MUXE01+JzkP+4SAZMg8I+KPyi0t/O9ywRYomShl+tBMDRuZ88KgWsO ZPizeELopxXtISKyT7vhn1vWyhWEyjFjz+vCadXQ= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E15D08B86F; Tue, 10 Sep 2019 12:30:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 5I4nzrWAZ74q; Tue, 10 Sep 2019 12:30:39 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 57FCE8B874; Tue, 10 Sep 2019 12:30:39 +0200 (CEST) Subject: Re: [PATCH 0/2] powerpc/watchpoint: Disable watchpoint hit by larx/stcx instruction To: Ravi Bangoria , 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 References: <20190910102422.23233-1-ravi.bangoria@linux.ibm.com> From: Christophe Leroy Message-ID: <34c222f3-e185-f859-f9d5-7447886fd1a8@c-s.fr> Date: Tue, 10 Sep 2019 12:30:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20190910102422.23233-1-ravi.bangoria@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 10/09/2019 à 12:24, Ravi Bangoria a écrit : > I've prepared my patch on top of Christophe's patch as it's easy > to change stepping_handler() rather than hw_breakpoint_handler(). > 2nd patch is the actual fix. Anyway, my patch is already commited on powerpc/next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20190904&id=658d029df0bce6472c94b724ca54d74bc6659c2e Christophe > > Christophe Leroy (1): > powerpc/hw_breakpoint: move instruction stepping out of > hw_breakpoint_handler() > > Ravi Bangoria (1): > powerpc/watchpoint: Disable watchpoint hit by larx/stcx instructions > > arch/powerpc/kernel/hw_breakpoint.c | 77 +++++++++++++++++++---------- > 1 file changed, 50 insertions(+), 27 deletions(-) >