From patchwork Fri Aug 21 03:40:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 7047851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D78B69F344 for ; Fri, 21 Aug 2015 03:43:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 23562202F2 for ; Fri, 21 Aug 2015 03:43:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3EFD320256 for ; Fri, 21 Aug 2015 03:43:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZSdCN-0006rz-D6; Fri, 21 Aug 2015 03:40:59 +0000 Received: from mail-pd0-f179.google.com ([209.85.192.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZSdCJ-0006qj-HX for linux-arm-kernel@lists.infradead.org; Fri, 21 Aug 2015 03:40:56 +0000 Received: by pdbfa8 with SMTP id fa8so21526431pdb.1 for ; Thu, 20 Aug 2015 20:40:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=h1HZURJP1Y83k53qjkhIlcOYwSpwSZREsBywJ2T63eQ=; b=GOkhmG6oKdKmEp9p8vhtoZWZqaU3fab3XHf75moBWzse80/N6XbP9I2zf7mtC2dACa 6sWIsHc8zVvSsPMyQWkODga/CdHP+ir4fM2Z4EKh0CNXJhhn/LA1HL8jyqy/Q+677bTY 5Parsm6Qc9ZkIoQlua3D5NCfT5lOqB9Kfm90duKhUDhdBsCwkQYBDLiBpKv32vrIYcyg 0p5yzPWNNGqqGREFxISXWAuKboyc08UvHD9ieS4G4kf11OLLjkAQFUAlfiwlsvebaMJe ODkzoLMqLQX29qYwbh3s3KRl1GU4dOBBFy/jsy4pWYz7Hs4AFg8Ingn9vAry7R8eP3nm iZSQ== X-Gm-Message-State: ALoCoQk1fuArTEb2NRaBFn3DFmDAJen03wS8GCVo4bCXD2Q4QsK0hGo+y0Yjb9eP+EgyehUrC2B5 X-Received: by 10.70.134.99 with SMTP id pj3mr12927870pdb.3.1440128434046; Thu, 20 Aug 2015 20:40:34 -0700 (PDT) Received: from localhost.localdomain ([116.251.214.16]) by smtp.gmail.com with ESMTPSA id oq3sm5909065pdb.75.2015.08.20.20.40.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Aug 2015 20:40:33 -0700 (PDT) From: Leo Yan To: Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: enable generic idle loop Date: Fri, 21 Aug 2015 11:40:22 +0800 Message-Id: <1440128422-4170-1-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150820_204055_618435_302044A8 X-CRM114-Status: GOOD ( 10.70 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Yan MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable generic idle loop for ARM64, so can support for hlt/nohlt command line options to override default idle loop behavior. Signed-off-by: Leo Yan Acked-by: Catalin Marinas --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 0f6edb1..c404e74 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -31,6 +31,7 @@ config ARM64 select GENERIC_CLOCKEVENTS_BROADCAST if SMP select GENERIC_CPU_AUTOPROBE select GENERIC_EARLY_IOREMAP + select GENERIC_IDLE_POLL_SETUP select GENERIC_IRQ_PROBE select GENERIC_IRQ_SHOW select GENERIC_IRQ_SHOW_LEVEL