From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C68BC43464 for ; Fri, 18 Sep 2020 16:20:53 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A417A20795 for ; Fri, 18 Sep 2020 16:20:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Kk9qtR6l"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="sDj3KDgc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A417A20795 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YJNvDbyUo4kUug0kZhOOAuoHflu8vfzS0r6E/cZI9R0=; b=Kk9qtR6leo3t4vijAYsJTIyT9 dzWGVGXwDZpZU7lx9X0KW78OQvrsYjsQadPjNpEp2zPV96by39uthjNJwTs5sNBgfqz+RVzrjw0ai 9y/hyH+rRJwrW6BM1UpFi3MBvD9xTP/81qAD3y46yCcXq9LujbLivPfC4lfqrK43mm/ZQjbhXsHDM 2Vh8e2Nc9Dhf48PBUuAT8EmM5cKlYYYvF/I2ez6LfxlhrJi3knBrTnpF5/YO3ZYYrAH9aNQqceLVS NcmwBmevdLZaNsOcwksJnDmLEWxRNfiiai7ZXZstpTtA7oYu/ewbRwPSsETjgEnAVs/6Zk3bkOIBP zjmCw4UhA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJJ6W-0002co-RW; Fri, 18 Sep 2020 16:19:20 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJJ4p-00020G-7S for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2020 16:17:38 +0000 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6144A2388B; Fri, 18 Sep 2020 16:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600445853; bh=ho1VWQbLbOtje9GQ7Qn1/lVsBLoS2i28TOVmW5ta3O4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sDj3KDgcPb5LJ5pH3kczeSnO1teCPz/HTPdRCHpnUmVGdSRolSriWVM5i0E03dBMa QBRn0pScTnySu84yhqjzjUAYgdP38TRLWuFymPELyHxw72gHaVlBzwc6vfLDEEFpdf +ZQmejX6u7sCI7VA/dJeHQSeqZY2oSrOO4rchje4= From: Will Deacon To: Mark Salter , Mark Rutland Subject: Re: [PATCH v3 1/2] drivers/perf: xgene_pmu: Fix uninitialized resource struct Date: Fri, 18 Sep 2020 17:17:16 +0100 Message-Id: <160043609212.3788171.12089834011515299398.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200915204110.326138-1-msalter@redhat.com> References: <20200915204110.326138-1-msalter@redhat.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200918_121735_650620_A861BEC6 X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Khuong Dinh , Will Deacon , catalin.marinas@arm.com, linux-kernel@vger.kernel.org, kernel-team@android.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 15 Sep 2020 16:41:09 -0400, Mark Salter wrote: > This splat was reported on newer Fedora kernels booting on certain > X-gene based machines: > > xgene-pmu APMC0D83:00: X-Gene PMU version 3 > Unable to handle kernel read from unreadable memory at virtual \ > address 0000000000004006 > ... > Call trace: > string+0x50/0x100 > vsnprintf+0x160/0x750 > devm_kvasprintf+0x5c/0xb4 > devm_kasprintf+0x54/0x60 > __devm_ioremap_resource+0xdc/0x1a0 > devm_ioremap_resource+0x14/0x20 > acpi_get_pmu_hw_inf.isra.0+0x84/0x15c > acpi_pmu_dev_add+0xbc/0x21c > acpi_ns_walk_namespace+0x16c/0x1e4 > acpi_walk_namespace+0xb4/0xfc > xgene_pmu_probe_pmu_dev+0x7c/0xe0 > xgene_pmu_probe.part.0+0x2c0/0x310 > xgene_pmu_probe+0x54/0x64 > platform_drv_probe+0x60/0xb4 > really_probe+0xe8/0x4a0 > driver_probe_device+0xe4/0x100 > device_driver_attach+0xcc/0xd4 > __driver_attach+0xb0/0x17c > bus_for_each_dev+0x6c/0xb0 > driver_attach+0x30/0x40 > bus_add_driver+0x154/0x250 > driver_register+0x84/0x140 > __platform_driver_register+0x54/0x60 > xgene_pmu_driver_init+0x28/0x34 > do_one_initcall+0x40/0x204 > do_initcalls+0x104/0x144 > kernel_init_freeable+0x198/0x210 > kernel_init+0x20/0x12c > ret_from_fork+0x10/0x18 > Code: 91000400 110004e1 eb08009f 540000c0 (38646846) > ---[ end trace f08c10566496a703 ]--- > > [...] Applied to will (for-next/perf), thanks! [1/2] drivers/perf: xgene_pmu: Fix uninitialized resource struct https://git.kernel.org/will/c/a76b8236edcf [2/2] drivers/perf: thunderx2_pmu: Fix memory resource error handling https://git.kernel.org/will/c/688494a407d1 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel