Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1920638rwi; Thu, 20 Oct 2022 19:58:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7A4xKpZEDT8uAVfLunn38ZSRi3f1vt7gTG4gNYQ+JyVtE+Utg9HGemIzaLN48uO/mLyQ/j X-Received: by 2002:a05:6a00:32cb:b0:563:2d3b:5c8d with SMTP id cl11-20020a056a0032cb00b005632d3b5c8dmr17362222pfb.85.1666321109521; Thu, 20 Oct 2022 19:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666321109; cv=none; d=google.com; s=arc-20160816; b=d4qJOzur9EMWC3EluJGxjmhEYehinFQ1h79J693RaYncxvAulN1jVq1NYaM6YfZq2R yKC7SBx7y2Dt6ko+GC4iGTTWJA5UqKoYEtFh5kmzMr3yb55hwFPTFp1xpeYA3YtqUns/ RW0cbsCJg7hvzkZvwOxnr4zGC0LTeNupPG/K8VrvCJsJvRwHVu2flhh8MPkK8Ul1FbWo oVewLoC2mM9cMysztI+wbYOEDPypchx6sMj0g4VpKwqBIwrPpwlz6HQ+MwJwDtEr12yS /RJrdO4qHIoYr3EoqlGjoi8W4GN4/eEq6JUjzjAJbuoIg8Zf6tvXtKFsFJmOnc3Tabkv Iqcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=IunemLQBVflygquqxGD+DY5iVZLobsfOns2aMSBY1B4=; b=kyt12wSj/qa3fIl2BUKyqL3DpvesaigiP65VffAWVm/HkJq3UMjz8kfH1+P49D/tRp E6etV3t5ED6qPNFIfkndeuwoz1Xk14TQemSABxGgfNOBR+EDxZ+JRWw0EcrN0CtHCJ6R 8qTPzPK9/MZrDu0uDtglOkPWXxyaARfATw+xiofzwMw5dXrAB4y0C9PGdC51cnE4+Fah YoY9FZkcjs+7EwdM7eCWDIDlwFp4re1sbr/6LJHuk62UgedSZ794XSCjVBYdecw/BZKx +wMsOHI63ImudnWyg+eFINDGs0F5ZtWClEvxECI9n30y6KdXCjptSJAJlksbCDo3f//d rEJw== 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 194-20020a6300cb000000b00457dced8b7dsi21231008pga.588.2022.10.20.19.58.17; Thu, 20 Oct 2022 19:58:29 -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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229862AbiJUCVP (ORCPT + 99 others); Thu, 20 Oct 2022 22:21:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229685AbiJUCVN (ORCPT ); Thu, 20 Oct 2022 22:21:13 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB37E1F8100 for ; Thu, 20 Oct 2022 19:21:12 -0700 (PDT) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Mtp6Y6tt8zDsKp; Fri, 21 Oct 2022 10:18:29 +0800 (CST) Received: from dggpemm500016.china.huawei.com (7.185.36.25) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 21 Oct 2022 10:21:10 +0800 Received: from huawei.com (10.67.175.41) by dggpemm500016.china.huawei.com (7.185.36.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 21 Oct 2022 10:21:10 +0800 From: Yipeng Zou To: , , , , , , CC: Yipeng Zou Subject: [PATCH stable 0/1] x86: aperfmperf: bug report Date: Fri, 21 Oct 2022 10:17:39 +0800 Message-ID: <20221021021740.137196-1-zouyipeng@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.175.41] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500016.china.huawei.com (7.185.36.25) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Recently i was doing some work about calculating CPU frequency on x86 on stable branch linux-5.10.y, and there is a problem which i descrip in the commit message. I've noticed that it has been abandoned on the mainline. On the mainline it becomes to update [a,m]cnt in timer code with HZ frequency, and it is actually calculated at the time of reading the cpu freqency. This solves the problem above. So, Are there other reasons why the stable branch doesn't have these changes?, this patch is just to ask how we plan to fix it. Yipeng Zou (1): x86: aperfmperf: fix overflow problem in the concurrency scenario arch/x86/kernel/cpu/aperfmperf.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.17.1