Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8088810imu; Tue, 4 Dec 2018 02:46:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xj3I8J4Y0X2Zk3G1ARM1sc4yU/TUlk2ic9H8w1lAXsO9O1yeJsT7U4GDjIAajI8tsjeRL1 X-Received: by 2002:a17:902:708b:: with SMTP id z11mr19440961plk.203.1543920397726; Tue, 04 Dec 2018 02:46:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543920397; cv=none; d=google.com; s=arc-20160816; b=Bi31nMZ6lVA74rrFGsPfy1zjttW1LVrRbM2WIXebXcUh/lujZnq1AGbuI+2I7AtAZf TfDkCTlIkkL+vs52ObWFnu2WVl2Y+g58VaZjubAKoxgOIwhvqNRkMlgd2S8k1s/X7SI0 4jwdGljkYZk+gD3HZ8caNIV0sPiyDVeAemPuC+fKiywfUaTyLocpDRoKHT2c2n40qdGV SwJA5SMUXuKPTyQjrbGTg3M1beUDlTAKPVtNm98eU9iYjlyAYL4+E4P8Z3KnEcSn01C4 cgkbAC0W5lqR86yJ5RrjDxJXHHt58qQkX6DbeXqoumb1/UvMXUbc2zd+jWSPlNwKzLEU DvTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=j4avgKxJ7er1mkSgLv64vmGkmY63IGVLkeRJB+3yExU=; b=NdhG0NY1D0nShG52RFESM8wpnFlBm+DZOTnkwzAONEmh2UpZDVHTPkjHjGHyZDirYX qw4KyYoy5dKQnHxqbrXIIIPLFbQ6h1ML9ImszFleV3peh5m+iC33+Rk2SOjtJEaeeZKl jJzxq5ftZLfxjy44PAxiWQz5Pjat3QOjQKHM+gKv002sJ0qSy+bkC2TagkiG37rfJV44 EloyN0bPWi26E1MVyV9PXZgtdi7plKsEv82NnlK+thg0tknB4QnSTO/CIRKIVlstCrO0 pZr14FWkm0V5gq8Faf8oWRJU9Qs7dNoGnHiTkaELRn/M7XlwatYJtyTbOZC+k6GTaQA3 KX+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=WSU1xHpU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si14368271pgk.312.2018.12.04.02.46.22; Tue, 04 Dec 2018 02:46:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=WSU1xHpU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726168AbeLDKpm (ORCPT + 99 others); Tue, 4 Dec 2018 05:45:42 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:43026 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725764AbeLDKpl (ORCPT ); Tue, 4 Dec 2018 05:45:41 -0500 Received: by mail-pg1-f195.google.com with SMTP id v28so7187854pgk.10 for ; Tue, 04 Dec 2018 02:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=j4avgKxJ7er1mkSgLv64vmGkmY63IGVLkeRJB+3yExU=; b=WSU1xHpUmzmizOSvpN72KaeN2XZ8/7U+r8fWZAv3osZYg0oBPm9JBHzmo865sFHHo3 et6IlRcweK8Qru2TFutmmYeKd23IYfmk/lzVby6S1N4dBuK/XSwD84KF9Ui9UWxsagvU TVWTDHSmXv3NrUqvFOpV88V8o0rB6pRbLUDkGFI2d/FsNc9zh/tDfPfUXuI3NINHjbEu /HjjGJppSP6tA7zhwI0aHXUAQ6mfP4oX+D91BuH+BlkVccu8x/86dz4wDMR2aISYciDp VBtghfj32yA9LTdBgGoIAfvS8egJFJLup65dRMx2ZcGBfIl2wmy07VI5GRMtsVfRvi7v g6hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=j4avgKxJ7er1mkSgLv64vmGkmY63IGVLkeRJB+3yExU=; b=qixwCrhWjqbzBo52WIsKX0U/MqLOfVe0M7y47QjjxjMqxqgf2D1pKkK6qy7eNAkIwW VpWYOMBzDyjZ0bvv9JyXw9wnv0f/PVpYKbgBLu06h7R0NYlG13wDSnpdkC38EaPpH6Vg 8k7Y+1JB89D6g88/nVgUL4vu6+1qxO1tkNZpJwE8kC9ZekC4/19GW9RZjIObqiHWZRhk QcqforGzrQDxbfH9pVybp+fVzKkJQlxIUDVFjtPJDLzPmIrfnhWyaLlYNPbvdyM/2kII IeS4UxlG+Gis9zgr6DWKmGL8J69uDsMKimW1n6g2miJdzVQm3/jAgVNK+RGotevVfR3O B2iw== X-Gm-Message-State: AA+aEWZRGARj+p/f6Ug7QWCIchbrtf6WE0xin4dLs4n+3yReUfWEdmo7 NJQrBT8L7s2p8mCu+E6heRhAvnH+UZ4= X-Received: by 2002:a63:cd17:: with SMTP id i23mr16162337pgg.13.1543920340951; Tue, 04 Dec 2018 02:45:40 -0800 (PST) Received: from anup-ubuntu64.qualcomm.com ([106.51.23.39]) by smtp.googlemail.com with ESMTPSA id s37sm19034734pgm.19.2018.12.04.02.45.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 02:45:40 -0800 (PST) From: Anup Patel To: Daniel Lezcano , Thomas Gleixner , Palmer Dabbelt , Albert Ou Cc: Atish Patra , Christoph Hellwig , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel Subject: [PATCH v2 1/2] RISC-V: Select GENERIC_SCHED_CLOCK for clocksource drivers Date: Tue, 4 Dec 2018 15:59:51 +0530 Message-Id: <20181204102952.21297-2-anup@brainfault.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181204102952.21297-1-anup@brainfault.org> References: <20181204102952.21297-1-anup@brainfault.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The riscv_timer driver can provide sched_clock using "rdtime" instruction but to achieve this we require generic sched_clock framework hence this patch selects GENERIC_SCHED_CLOCK for RISCV. Signed-off-by: Anup Patel --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 55da93f4e818..09a0f2582cad 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -24,6 +24,7 @@ config RISCV select GENERIC_CPU_DEVICES select GENERIC_IRQ_SHOW select GENERIC_PCI_IOMAP + select GENERIC_SCHED_CLOCK select GENERIC_STRNCPY_FROM_USER select GENERIC_STRNLEN_USER select GENERIC_SMP_IDLE_THREAD -- 2.17.1