Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4820356ybl; Wed, 22 Jan 2020 05:22:44 -0800 (PST) X-Google-Smtp-Source: APXvYqxBLp6A7ZrRgjTMuTZAodGV/MJyoqai/Rx83bL8djCMNF9oDjPJAMYP3Q+ifH5A4W/Xixgl X-Received: by 2002:aca:cc55:: with SMTP id c82mr6524526oig.165.1579699364156; Wed, 22 Jan 2020 05:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579699364; cv=none; d=google.com; s=arc-20160816; b=cAeTl1Z3P9dYK5WEFB/6IFOcVkBBNz4GqzOVsbx/xtJMruAowe61Qzu3xxz0tFvme2 rbitS1m7oK/sSGn1exs6csA+5ykN7pGVLzEyXqbI5cz4qGkivwJP6+mhust501d9hCQw /rhiXvTKEjMOpopp7yJnwVpX6+PCz0/wI8qmZqz62TnqTinNV9BhR6jtpUwSHm1Us0+b W6xxy+lrqm6+Ml7bvs82ih0/MVlNwvB7m7SRIh93JVhFah9NUp414oJ+1DQfUrPqkUBS Iz7TO+ac4IOf0ujXgp/bLG9pZ45Qo0uyWLiwfcOJOLwwCGQ4t45PnvqQM0shmR+419vZ kxBA== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=IlH5ZMTCTwdtGmq6mdVK5yqnWr2T3+e7YpAf09lKg9I=; b=YVniWyktZygcLgR6WfYNevzaira24Vua4sCWiH57HC8FM7BQ4n0tPau/ItudC2Pawq LUhaz0osdfeii2W0pSW+BNEys/fo7+DJFruGG2TQlk+C0iEs+6thdxyZGLNQ/PN6r3IG sYzEVDGZdqHD+YjNJqgMiRDL5F4LakBoJOnwGsaiDkbdHQpLFkBYWHPGPW2czmyk89JE 4NB8Ufxu5CNM9aooXSigboze7f592SvDcas/19+U/LYRhUoxpxhAtIGvQSuM1P81aZL5 cGZ+IDIeKuqEuMxAHKbAyYNseiN4XKSxU2R4l+XvF3e8wBdouDzZNC/owxF0cYZJythM Ic6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=d1m+b2j1; 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 l9si1810895oti.229.2020.01.22.05.22.31; Wed, 22 Jan 2020 05:22:44 -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; dkim=pass header.i=@kernel.org header.s=default header.b=d1m+b2j1; 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 S1729813AbgAVNTu (ORCPT + 99 others); Wed, 22 Jan 2020 08:19:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:35762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgAVNTo (ORCPT ); Wed, 22 Jan 2020 08:19:44 -0500 Received: from localhost (unknown [84.241.205.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 512AE2468A; Wed, 22 Jan 2020 13:19:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579699183; bh=3gY41t3PBbf9Bh54MQwzN0iQ5H5WEPl331nOFmFK0gw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d1m+b2j1WYkCPfgGXQ4ApUXw60uFVkAwgTIRSvqd4c4Kya2VAX3dnnDxlS2OpbZRx OGM7Ne02G+Uj3r58knncanAuYj9ekVBOr/Xif8StS0O/2c7VTwUFG4zaHe2ucEBY5+ ArEML+NxfdVug2lyvXwQ2lbtnW7RVLcjN6Tlp8nI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Like Xu , Kan Liang , "Peter Zijlstra (Intel)" , Ingo Molnar Subject: [PATCH 5.4 065/222] perf/x86/intel/uncore: Fix missing marker for snr_uncore_imc_freerunning_events Date: Wed, 22 Jan 2020 10:27:31 +0100 Message-Id: <20200122092838.375669008@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092833.339495161@linuxfoundation.org> References: <20200122092833.339495161@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kan Liang commit fa694ae532836bd2f4cd659e9b4032abaf9fa9e5 upstream. An Oops during the boot is found on some SNR machines. It turns out this is because the snr_uncore_imc_freerunning_events[] array was missing an end-marker. Fixes: ee49532b38dd ("perf/x86/intel/uncore: Add IMC uncore support for Snow Ridge") Reported-by: Like Xu Signed-off-by: Kan Liang Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Tested-by: Like Xu Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20200116200210.18937-1-kan.liang@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- arch/x86/events/intel/uncore_snbep.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/events/intel/uncore_snbep.c +++ b/arch/x86/events/intel/uncore_snbep.c @@ -4536,6 +4536,7 @@ static struct uncore_event_desc snr_unco INTEL_UNCORE_EVENT_DESC(write, "event=0xff,umask=0x21"), INTEL_UNCORE_EVENT_DESC(write.scale, "3.814697266e-6"), INTEL_UNCORE_EVENT_DESC(write.unit, "MiB"), + { /* end: all zeroes */ }, }; static struct intel_uncore_ops snr_uncore_imc_freerunning_ops = {