Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1090174rwi; Thu, 13 Oct 2022 08:58:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4OPrpb7v9PyQMQTn/gQSBph7NEO2cfBTn9HQiuVAM+963kOA1e+irye/EjD5C/VIq0fJo9 X-Received: by 2002:aa7:88c4:0:b0:563:9fe9:5da9 with SMTP id k4-20020aa788c4000000b005639fe95da9mr216539pff.41.1665676706813; Thu, 13 Oct 2022 08:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665676706; cv=none; d=google.com; s=arc-20160816; b=nnPgYiyAWJ/UJD+cqh5PWbCG4VSFtGUYiqR1HSmcx7VrwbGfGyZOc1E6yZjtjvvGnP j+Z+iz/2G1s0wM2KdAG+oWjmV3+rYtGqUlSfIsGbl6jdqqpm3vIRQZ6OkjUtxkHqFIdy pfuDyqaNo3KUpbKL699f7NVjKoxF5aLc6XgBCjrWuoR7uuNvcfHag7mILRbVjcS9adXV r8jed9Tz/gY4EEQsCNhMbTMM4yrVnBI38q6P6n8EnDy3nc1WvWTc29qsQVeQCTH/8TVW TyhcjGpXKP6vwRnnzvliJEHgMCQBjE4GTXPL45QVrQZ20oy1AMrONMdgO9/D+kU70knP StkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SswYpmvB2OLUSoe8a2kUq0K4LZAHWcSfAt98Az4nyVQ=; b=gUdmQIXsbUbCKg4/uZoZs5hfr1SA9580nAnWccZg9cUMzXnQ3IO4t3XZ5PPGZrsc/X b51TUKmVOVGz9ufLVBQOAc4oiTExiBIDevUcbV0u3As7eAAoMprWD/Qi2f54RevR816/ sEIBXEMOp963ISr85r3WwoEQdw+XusbvSHNJgeM7XS5QWH/K9+FpypeSO5VOZOVUsJC6 +Qd8SgIW6RlkY0zwhRbb5/KiVuGfTjWx6j9QoGYmUYGJW8iTRHDtmdr8G3lHR75gCJMd 33WZwd/j7CDJg6Z02hlw5cyJCEDliMq6a95WwH2euHU+yy8HJ1quhQLR9ltp2AtjI3lQ bu2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=eQhOkI8Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y6-20020a056a001c8600b005631e47ea88si14818714pfw.178.2022.10.13.08.58.15; Thu, 13 Oct 2022 08:58:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=eQhOkI8Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229709AbiJMPIH (ORCPT + 99 others); Thu, 13 Oct 2022 11:08:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbiJMPIG (ORCPT ); Thu, 13 Oct 2022 11:08:06 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02324106926; Thu, 13 Oct 2022 08:08:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=SswYpmvB2OLUSoe8a2kUq0K4LZAHWcSfAt98Az4nyVQ=; b=eQhOkI8Y0CZXQPzs/A39pWAw42 ODLZAsliLnahtHS9RxeaE9y/L3YSQ7jIYVywvWrDbnjfe1m+6h8sM+MpPmoEUR2y1TkyvUY/+A9xP smDhD5pHaPFURmLc14rft8mTL7VSYHs4mT8Zric/uhvF85mhgZVwu6oiu8reTDUnRZs0vIDS6bgwj CNyyvk0rPoa73RvQ6DLoX0KWUZ7/X8GG/69zsy5rUmk3pt4Lew+mDmm7/tB65OKVB+6gahtuVF73k cVxVggQS/EFZQVOzg4hm8hW9Gan7mvq65T9gQ5HB26cUa0j8fOdrdm2FMYf6ozkKL+mIFQZ0EF1wl 9JypgpcQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oizo2-0038e6-R0; Thu, 13 Oct 2022 15:07:31 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 3F1E43001D6; Thu, 13 Oct 2022 17:07:29 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 275052BB878AD; Thu, 13 Oct 2022 17:07:29 +0200 (CEST) Date: Thu, 13 Oct 2022 17:07:29 +0200 From: Peter Zijlstra To: Cody Yao-oc Cc: mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, tglx@linutronix.de, bp@alien8.de, hpa@zytor.com, x86@kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, shyaololo@163.com Subject: Re: [PATCH] x86/perf: Fixed kernel panic during boot on Nano processor. Message-ID: References: <20210607013109.7870-1-CodyYao-oc@zhaoxin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210607013109.7870-1-CodyYao-oc@zhaoxin.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 07, 2021 at 09:31:09AM +0800, Cody Yao-oc wrote: > From: CodyYao-oc > > Nano processor may not fully support rdpmc instruction, it works well > for reading general pmc counter, but will lead to GP(general protection) > when accessing fixed pmc counter. Futhermore, family/model information > is same between Nano processor and ZX-C processor, it leads to zhaoxin > pmu driver is wrongly loaded for Nano processor, which resulting boot > kernal fail. > > To solve this problem, stepping information will be checked to distinguish > between Nano processor and ZX-C processor. > > [https://bugzilla.kernel.org/show_bug.cgi?id=212389] > > Reported-by: Arjan <8vvbbqzo567a@nospam.xutrox.com> > Signed-off-by: CodyYao-oc *sigh*.. so this email address doesn't exist, as such I can't apply this patch. Consider it dropped.