From patchwork Fri Oct 12 15:46:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 983155 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nXWRULSg"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42WsfC1GXTz9s3C for ; Sat, 13 Oct 2018 02:47:15 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=18BpOKJEDzDYC1ynLrvuDcO3n9UPYQ+U5uNKYxuMVYc=; b=nXWRULSg8RAx6P nYY3FGXImnzmBnCKuD6VOfgL+Bh9Q1u07JL77let+4ip2DHJWByDloH6WPcI/swKq/D6DV2QPQHva q1jQHHxxjBIhpBS5M3mpZvBvEVs0mo4ROKTJ7Ff+fKHUx4vuRioCWK6ieHPrHznF8DWQjq96Oxy6R uiVvhjx0qb4uwdzLVaJm+WRAQDa15QvnoaSm9mr3AMRFl7O0onk5i0I5PYo4TznPSulQna1Eedc2P Np4qDk4l+GQQU6ytQonmMEqAJ1gjKT2m11Wj6qavoB4o88PtwvMoRPfK4PT2VRj1CvjzvhjcJoeKG q5RcxIcjQsSJyYnNz2Xg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAzeb-0000Am-BB; Fri, 12 Oct 2018 15:47:05 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAzeB-00005F-EN for linux-arm-kernel@lists.infradead.org; Fri, 12 Oct 2018 15:46:59 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 12B01F; Fri, 12 Oct 2018 08:46:29 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D90D93F5BC; Fri, 12 Oct 2018 08:46:28 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 57A0F1AE09F2; Fri, 12 Oct 2018 16:46:29 +0100 (BST) Date: Fri, 12 Oct 2018 16:46:29 +0100 From: Will Deacon To: gregkh@linuxfoundation.org Subject: [GIT PULL] Couple more arm64 fixes for 4.19 Message-ID: <20181012154629.GB11387@arm.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181012_084639_524179_AF46FC99 X-CRM114-Status: GOOD ( 15.08 ) X-Spam-Score: -5.0 (-----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-5.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [217.140.101.70 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: catalin.marinas@arm.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi Greg, Please pull these two arm64 fixes for 4.19. One of them fixes a nasty WARN() that has started triggering because we assumed that memory reservations from firmware would always correspond to regions of the physical address space that we have mapped as memory. Unfortunately, some existing device-tree files break this assumption and we need to continue supporting them. The other fix addresses an issue where a CHAIN PMU event can be requested as a 32-bit counter via perf, which makes no sense in isolation since these events are intended to be used in conjunction with another event when creating a 64-bit counter. This is summarised in the tag. Cheers, Will --->8 The following changes since commit 0238df646e6224016a45505d2c111a24669ebe21: Linux 4.19-rc7 (2018-10-07 17:26:02 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes for you to fetch changes up to ca2b497253ad01c80061a1f3ee9eb91b5d54a849: arm64: perf: Reject stand-alone CHAIN events for PMUv3 (2018-10-12 15:25:17 +0100) ---------------------------------------------------------------- More arm64 fixes - Reject CHAIN PMU events when they are not part of a 64-bit counter - Fix WARN_ON_ONCE() that triggers for reserved regions that don't correspond to mapped memory ---------------------------------------------------------------- Will Deacon (2): arm64: Fix /proc/iomem for reserved but not memory regions arm64: perf: Reject stand-alone CHAIN events for PMUv3 arch/arm64/kernel/perf_event.c | 7 ++++++ arch/arm64/kernel/setup.c | 56 ++++++++++++++++++++---------------------- drivers/perf/arm_pmu.c | 8 +++++- include/linux/perf/arm_pmu.h | 1 + 4 files changed, 42 insertions(+), 30 deletions(-)