Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1027617pxb; Thu, 9 Sep 2021 18:24:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ+sLMGxAT5CQ3XosGK3OUm/bea6nX1rp8696Vtch7V1CwDeYN6elkxSZSYlEJy91kslCd X-Received: by 2002:a5d:87d2:: with SMTP id q18mr5114661ios.78.1631237066105; Thu, 09 Sep 2021 18:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631237066; cv=none; d=google.com; s=arc-20160816; b=e0fyp1xEYCC7LnAeRLivraigPoANrwoh3C+uftnt8JDe800zSDqlF8rFr/zdNPkTiL keZ9VIS4KPtKVV4a0n2wSfDm3y8x+sdYFy33cC3XZqFMGAkzfNEtVCOZIZeHxe/KEMww l1RgSrz27PIvQZOnUXfBUf5Le9KjYnVOwl0j1Jpo1VXfp/3/Osfcs4e0GUbGwLdEiZpi k6yl0OAnR9UnQtN8dz+eV4wO77jEN8Om3qTUOZ/pWr1RNNR4ul7NOJ5+d/zWs+puHRuE euz3hxKDNzzu1xnL3dtBTZT5R+Ns+vH0n7GunvJ4kzP99+EuqC/9LozFGwThZzcZwrkL KoJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=s87a4kLYskz8I39/PMyVgm/9D4JsaFL+PLylS+GVBGk=; b=UVGVDmETfPb4LYEed3UgF50WXgXHUBLY79TGkaobM60CrA6lQBnIokyv4QtlyPHrlP aJcGiTlrmVW8g1eiygAMinczGa+ub2bzuI4FTW7wW5uZqr1+pv9kaTt0LBwMwPOCitvc NfyQDp6ttL6XOIbbBU/sg+7Yo7pv0lPMG1okRVUUqPjScWH8KSp5BDoZTcmYpetVM7+u ZML2CGRp/rxYge3UVpxrNe32/W4f9zgfnlgInBhAOLcYpcxkkyUnoeCRSeF11flnJlNO ZjqtQKV04+YDaz1ftLlcOiISp1cAYDYowyl6kA64fvMwchyWTEe7P0cB5DhcOUSJW56i 5VNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fL8l6HIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d188si4117145iog.62.2021.09.09.18.24.15; Thu, 09 Sep 2021 18:24:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fL8l6HIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235085AbhIJBYd (ORCPT + 99 others); Thu, 9 Sep 2021 21:24:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235278AbhIJBYB (ORCPT ); Thu, 9 Sep 2021 21:24:01 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35AD5C061A2E for ; Thu, 9 Sep 2021 18:20:38 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id i21so877977ejd.2 for ; Thu, 09 Sep 2021 18:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=s87a4kLYskz8I39/PMyVgm/9D4JsaFL+PLylS+GVBGk=; b=fL8l6HIwbgPW3mMVDvj1Hjiys1GcMJa3bBiUhh8+cTHGnjh9M+y7HAqL6977h1BYpl 3LHqtx19njgpUhdih0lKM3qdx8dkSbTSlF36/md+61rzF82PJAx5IolN2P7rnIOMuFAk obAsrSPHsej/+lxjhtVUgjMrhraj8qVnhCJKkKGkOr37oB1xdFiD/bSbWWYmzd+kBvcd ulxbBWu5dZYO1+BT56JRYhzgnBtB6mdUHzS2C3hENlwPIAgYAjxU9gtPIfPkr1v8Ocp2 SRFCTNOVpaP6rB/nuphOG0issdOSucP6GoUZoMA84cFpp2yu1RX4s9F7sqbUj6xqpgr4 U9Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=s87a4kLYskz8I39/PMyVgm/9D4JsaFL+PLylS+GVBGk=; b=MFv9FTW27TVtN90H3I8aJjqtccPnkx40UbaNJdBrefQZQqBV3/GOlyLt0erAZobBlu KoFSKgzQOrYreB5tPSH+/wrKdZZCRtF91HOHwf6l6tvdtbZB46ZuFTjaJ7Kvbqlvi2FW Uq0pPqvj7vrNaEhzy+IunKwbIsse/gz7nco3iUiTmnUTtk/Z811U61IH2hZgY766SA7x HDdvRComE87pQWlUyULBDB0QRccOsudDvEtjXhXyUNQvDEFDviEyn2k/d4ndky7wVS27 Ry8GFfctYiSaWu51AKvBcOKYA5oXh9HqtKcLT+lv5/EZkjjk6Ruq0nJdxPhwB6ld1soN hbjQ== X-Gm-Message-State: AOAM5339+vppxkp2mMb3SJ2L4jlGHEGnB+yrGFaGQw1AhX07/ld1lAqp wlCOzg+PWhylB36aSVND4DAA16kXGoPimRWpugM= X-Received: by 2002:a17:906:144e:: with SMTP id q14mr6475371ejc.19.1631236836530; Thu, 09 Sep 2021 18:20:36 -0700 (PDT) MIME-Version: 1.0 From: Yun Levi Date: Fri, 10 Sep 2021 10:20:25 +0900 Message-ID: Subject: About Full c3-stop status. To: Thomas Gleixner , preeti@linux.vnet.ibm.com, mingo@elte.hu, rmk+lkml@arm.linux.org.uk, dmitri.vorobiev@movial.com Cc: youngjun.park@ahnlab.com, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all. Sorry to interrupt you but I have a question while I am reading the tick-broadcast codes. When a cpu goes to c3-stop, I confirm it calls the tick_broadcast_enter function with TICK_BROADCAST_ENTER. While entering, it calls the broadcast_needs_cpu with current cpu. In the last condition of broadcast_needs_cpu, it checks whether the broadcast device is bound on this cpu. However, except the ce_broadcast_hrtimer in tick-broadcast-hrtimer.c, all other real devices set bound_on fields as 0, Therefore, it seems that cpu 0 couldn't enter c3-stop though it has the feature. My question is 1. Couldn't cpu 0 enter c3-stop? 2. If true, why don't we set bound_on fields specifically? Thanks. HTH. Levi.