Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1948434ybv; Fri, 21 Feb 2020 06:12:55 -0800 (PST) X-Google-Smtp-Source: APXvYqxHl1n5dXOQeIdhJRF0TlZsJs7jG5+YzBuyia+3XkUpLbb1sa7zZiZj2WATdi/7cczWNw/p X-Received: by 2002:a9d:65cb:: with SMTP id z11mr26638737oth.348.1582294375108; Fri, 21 Feb 2020 06:12:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582294375; cv=none; d=google.com; s=arc-20160816; b=IWvjoFdNlFobfhP/y+5hSK9EacSrzoXB2eYkKGajj123FXvJxmFs2TFoCpK0l3LchZ Qx+6vdWB0AFE8dHX3iHRh4wLQ6hgGcf/s58ZjcnhmEMfBABMOxUE7cS+Hy+EKRdFL5Zz Aqcqbe2oFvcNvS/OxskK2mgR85z64xA/xaY6Xis9CZ5DXHMlWlLWwZtkbz9UNcFJMEYi fYDYRrB031ypnT3OhubQPnD2iQrgUQLG1yID8YTm/aDJmFyQYcyzvG/1610QKU4S/cNR nZDvX9O5MjymQ12Qxwpwpv+pcI6SP46Zte50xam0WU1ztDEviZtWsA36GEo3iYVPdxF4 IimA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tmaCjaCJmP++fXgKjLGV0dOlLpgj2OPUJddg+zWaESk=; b=1DxLlHW19fs9+zOrUhaaZCFZ4KRO8ANAAoe27vzu6WsGnDbiV3ldJ/KHFZcK2gdop5 vW/APAPZBdHMfSml3NWmgqDl9EhcI21bGS/GjzJ65/v8UmDDZgErLzigYexzkpIZ/GuZ ZDiBuZgpJkh+rr6kRdVFtcaue9L/KPDJhqcV3VTjk6zJUKNzqtttDXpvLap7qpaPGWYh iv8GaQ/VH4xp/ngc8HnMSM8AHTCkpei23gytPUVyPBsYmx7wqjUnsl2daeaHMUgmyI7L 5ztexk3mmja4z/bDbBtSTwRYAgZWgUCYCE+jlHB6Aygd7dpUsQSasLNYFiTijSvn4eE3 s3PQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l65si795237oih.23.2020.02.21.06.12.42; Fri, 21 Feb 2020 06:12:55 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728828AbgBUOMc (ORCPT + 99 others); Fri, 21 Feb 2020 09:12:32 -0500 Received: from verein.lst.de ([213.95.11.211]:55627 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728344AbgBUOMc (ORCPT ); Fri, 21 Feb 2020 09:12:32 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id C4B6668C65; Fri, 21 Feb 2020 15:12:28 +0100 (CET) Date: Fri, 21 Feb 2020 15:12:28 +0100 From: Christoph Hellwig To: Will Deacon Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, akpm@linux-foundation.org, "K . Prasad" , Thomas Gleixner , Greg Kroah-Hartman , Frederic Weisbecker , Christoph Hellwig , Quentin Perret , Alexei Starovoitov , Masami Hiramatsu Subject: Re: [PATCH 1/3] samples/hw_breakpoint: Drop HW_BREAKPOINT_R when reporting writes Message-ID: <20200221141228.GB6968@lst.de> References: <20200221114404.14641-1-will@kernel.org> <20200221114404.14641-2-will@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200221114404.14641-2-will@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 21, 2020 at 11:44:02AM +0000, Will Deacon wrote: > Given the name of a kernel symbol, the 'data_breakpoint' test claims to > "report any write operations on the kernel symbol". However, it creates > the breakpoint using both HW_BREAKPOINT_W and HW_BREAKPOINT_R, which > menas it also fires for read access. > > Drop HW_BREAKPOINT_R from the breakpoint attributes. Looks good, Reviewed-by: Christoph Hellwig