Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13185785rwd; Fri, 23 Jun 2023 17:41:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5h3kLcMCvxg3EdHC/pm+mAfO+TwXkMPh8GK91Ox8s/KCiKT+QOLDKoiXvU8pB9iJG1ZsPP X-Received: by 2002:a05:6a20:7f95:b0:11e:7ced:3360 with SMTP id d21-20020a056a207f9500b0011e7ced3360mr35784188pzj.4.1687567313288; Fri, 23 Jun 2023 17:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687567313; cv=none; d=google.com; s=arc-20160816; b=FQ5DutUdIc6d7NbXPKNOVrXrXsv3JvppF1Tkl4luEEiA4DrZEpF1gl5OW96S60VVwo J5t/A+SwmsiBLRdT540UKiaS1bvy+wbpK4k1P0tlbj8GbQeQfvE9/Ot7CxTnrncPMBOF WV+apOKfy0J2JdvwYYg4hW+zMZQOSmPsTHZ6mvV6gzgyxNSY757h2JfD7RjYoB2eeLGx l5Wc3ByZgNKuHOtNycdWrwVTTpVLEJV7hn5JKQlYoZD7cawTAeS7DNmWij1OoM6XnQzA F0SlJEuDCLpjAtZRaUP0DQIYRy46kpFiEoAHmsoxTDTI9GSNwKOjbB64ONKHCd+iyHZO NlEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=uw1eC9Mo8pl2P/hUnZpWlqkXUzTOPlhqXXmcIR6uooc=; fh=ZqFHFKvTZh/7B4YjWJa/2aOhycNttsk4awtqXwhpcUs=; b=UJsT6ZJGx0DwJkFBSApUELkS5If4o14T+hiulFGWbEJbqzbwHxUtZ84CDVohOgOjrY vedGHLwQh8qk2F6hJIlg9xzis35VYYuJUmcrKdiNzNVnGAU/ip6FQD11qYjlDT+R1tmB TnLQzNXRvuUD8/yP6p6rvDaWQ3pOoE3RDpyXQL3ZMsKDOS9GhVslq16mDck6l6rQNBRN vUnJvCvy4Ypuy7IulhU0qz94cYdrREmIet/o9eMt52EvVxp8tpyduDnG+SUWYQ6WIzua KmzLO6Nw0zD4uQsjfAvpKt5T+lNTh3GyjXRVoY9UwtFOEENRMlszIR66EsehhyURO8uS gy3g== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q140-20020a632a92000000b005533f58256fsi553114pgq.560.2023.06.23.17.41.41; Fri, 23 Jun 2023 17:41:53 -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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbjFXARv convert rfc822-to-8bit (ORCPT + 99 others); Fri, 23 Jun 2023 20:17:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjFXARs (ORCPT ); Fri, 23 Jun 2023 20:17:48 -0400 Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E081826A9; Fri, 23 Jun 2023 17:17:47 -0700 (PDT) Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-bcd0226607bso3620539276.1; Fri, 23 Jun 2023 17:17:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687565867; x=1690157867; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0hPv8x0shEc/k1aN0by01gtPFzohHEguHvDTQ7Gv+Rw=; b=ZpQr62wsKyCw6n+3cqyp5FJwZM0bv9bYpRMAAiRyOJDlWu5isKghF+n6lb2TtyPoMc O4eHWYqONFJgLVxe32/g+GBCEy0v2J5qxvJ0XG5PoSVhCr+rbOiPwi7kEd100zOfus4p qpaaX/bsMZr2vMgjmJqNrDPFGOEsahvyfpiP4gpgcb4bKxMg68RaxuVeJv7PfK2go5wW sPRWLmMoz3B+TgRsvnh6hMH0VqO5qN/8leIeORLRYXjWde1ylWTRS8IbTUV78ofumiGT ZKVT3KsWBOMVX4TUA2WRvv8gdKTmapjursFgbdFIaK6eVZ1Cqr/qqZFIFo27WhasmHcV rJTw== X-Gm-Message-State: AC+VfDyB94lNKBl8nzuOEO3ThX3jIGgqVpgS4DftqUhWSDzihcX8aEYH vU9kI8ZdXClvMzzIb0v5mRvihUu80xng5/4yf/c= X-Received: by 2002:a25:6a43:0:b0:ba8:2a74:155 with SMTP id f64-20020a256a43000000b00ba82a740155mr21475536ybc.32.1687565866927; Fri, 23 Jun 2023 17:17:46 -0700 (PDT) MIME-Version: 1.0 References: <36fcef74ba3d21250f4c9605e691d1e2dac20ebb.camel@maquefel.me> In-Reply-To: From: Namhyung Kim Date: Fri, 23 Jun 2023 17:17:35 -0700 Message-ID: Subject: Re: [PATCH V3] perf vendor events riscv: add T-HEAD C9xx JSON file To: Inochi Amaoto Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Paul Walmsley , Palmer Dabbelt , Albert Ou , Nikita Shubin , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Hello, On Thu, May 18, 2023 at 2:50 AM Inochi Amaoto wrote: > > > licheerv # perf record > > [ 432.015618] watchdog: BUG: soft lockup - CPU#0 stuck for 26s! > > [perf:117] > > [ 460.015617] watchdog: BUG: soft lockup - CPU#0 stuck for 52s! > > [perf:117] > > [ 488.015616] watchdog: BUG: soft lockup - CPU#0 stuck for 78s! > > [perf:117] > > [ 516.015617] watchdog: BUG: soft lockup - CPU#0 stuck for 104s! > > [perf:117] > > > > But that's not related to your patch anyway. > > Same issue on c920, but it did not always occur. > Like a sbi issue for T-HEAD cpus. > > > I am strongly against using "c9xx" wildcard, i would prefer declaring > > them separate (especially taking in mind that c920 is c910 with vector > > - AFAIK), but that's up to Arnaldo to decide. > > AFAIK, there is no reliable way to distinguish c906 and c910 cores. And > the events of c910 and c920 are the same (according to the draft document > of the c920). > > Anyway, I agree to let Arnaldo decide. > > > Tested-by: Nikita Shubin I'm collecting patches on behalf of Arnaldo this time. It seems this patch was not picked up for a long time. I think we can make changes for the c9xx wildcard later if needed. I'll process it in the current form. Thanks, Namhyung