Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1001279pxj; Thu, 17 Jun 2021 19:49:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfr2UBAbC8eeGV5Dn9vDzFGRbBeilEbzii1YtvCHy29gzrjJiyuNKkPAUjxN9USp11jS6t X-Received: by 2002:a05:6e02:1489:: with SMTP id n9mr5791778ilk.102.1623984588645; Thu, 17 Jun 2021 19:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623984588; cv=none; d=google.com; s=arc-20160816; b=M/9UJdoKFs04xPKLv9QUlt6uZdeIbseV1uLSGYwVI7vCI/as1i/07kn4bO2H6zwIWE o20wUTVv8p7FcsDmAT54jouRYV4z3R9fULnuiB2uieGOv57EZ57/y+FsOyz5uXRpYxKw q+F0Hq1+IBqawTCPaXTtK2xLxwuyctaALOx+YfOa3k10DkbEiMtGh8T/0tDwu246PFWl uvcmhb3QsWEHSJ/emGOLAcianTSbOooHXbl/78Q3w1LLEPzWY9oAYkQQ2I9lKuXvdsS3 5b64VZ2K5/FP01yuMtsKiL/OJluDbC52GiShqYKnyrVvHIUv/Yo02h89PxboEfXuGSC0 p1Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yvS7q4YlV1AY2ARIJgQ6cVQnCMr/JzMNnPHzx/Ceg9Q=; b=pF1iFL1kDWE6L2ir/cHuUEakhDATX/X2/M6+GF505JhAIHU1fHpjf/ZOR7gqFSzbuV uGDn04Va5yV4AmDGFyZlWkqo4q6b0WRjf6H1oHkCXEqvo03CvgyHBcxS5BxOA0T65USJ h2gBqFLR5hHFIh3kxWXDKMrqPJ4mXWUY/0GPPcEzCLNv3unB+HiwcmnjnYEwuv/vbEUE 9oTW8quAOSvvRqBXvjOD5s2c0u7ZD6d402DGh5izYEFtF/fzKiM0n2/WY/2YRwerhPXr O2GTMZigQLRdWeddA+BHOFfsThIDSRSXkY4vpqA6wd2HrOxSTdYgchGNUi+4itGhI4Uo CZEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iuWiiTWU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f6si6537769iox.103.2021.06.17.19.49.36; Thu, 17 Jun 2021 19:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iuWiiTWU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232734AbhFQWlC (ORCPT + 99 others); Thu, 17 Jun 2021 18:41:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:33674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232716AbhFQWkz (ORCPT ); Thu, 17 Jun 2021 18:40:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A3328613F0; Thu, 17 Jun 2021 22:38:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623969527; bh=vsL7NMNbpUi0a0GtGlHv6l88o9ybIXECaQOQai63XvA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iuWiiTWUYp95/L4KxWLLzIh9hYgcMAC+eHFr1LtnLfL1bTVgN4PKpLnbRo1qr3t5C gRWMjcqJ5BnICIKR/d7mSzdn9CWpXtr4yDqe4fSOEgOP0wkDRUZyYNJeG7WcgExHZJ LTDg9NbBthg6PegLX3foYdQ4WA8+pSv7xyBljQZoEbY3pe31QVeTBYo9rhuKybkX3U y466X79gR3I+Vr2UYRZQJlU0T9KaNOLJxYmSvvLAeBkpei9AcshfvZFtk4rxOoOXYK /gR4mMQW0JBDxExGBw0AIBZWYNSbLHnx4ioPfn4u/46YTni6O2JuZAeGJ+U5AfkFJG Dj9IntYjqNW3Q== From: Will Deacon To: Tuan Phan Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-kernel@vger.kernel.org, Mark Rutland , linux-arm-kernel@lists.infradead.org, Robin Murphy Subject: Re: [PATCH] perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number Date: Thu, 17 Jun 2021 23:38:36 +0100 Message-Id: <162395550334.941145.17283094312971235409.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <1623946129-3290-1-git-send-email-tuanphan@os.amperecomputing.com> References: <1623946129-3290-1-git-send-email-tuanphan@os.amperecomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Jun 2021 09:08:49 -0700, Tuan Phan wrote: > When multiple dtcs share the same IRQ number, the irq_friend which > used to refer to dtc object gets calculated incorrect which leads > to invalid pointer. > > Fixes: 0ba64770a2f2 ("perf: Add Arm CMN-600 PMU driver") Applied to will (for-next/perf), thanks! [1/1] perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number https://git.kernel.org/will/c/4e16f283edc2 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev