From patchwork Mon Aug 27 11:35:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10577025 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B982A5A4 for ; Mon, 27 Aug 2018 11:36:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A874329782 for ; Mon, 27 Aug 2018 11:36:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B60B29899; Mon, 27 Aug 2018 11:36:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 468B929782 for ; Mon, 27 Aug 2018 11:36:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727331AbeH0PWt (ORCPT ); Mon, 27 Aug 2018 11:22:49 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:42216 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727158AbeH0PWs (ORCPT ); Mon, 27 Aug 2018 11:22:48 -0400 Received: by mail-lj1-f195.google.com with SMTP id f1-v6so12042018ljc.9 for ; Mon, 27 Aug 2018 04:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h90+3ReY06e+iLNerRK9K1XsVHAVsoADC481ssK4+Co=; b=j8rNU01ujl9hYtNsMEWK2gbZLyGFHvptyc6PL4QfD3czbdEMF47Cvdo7LPrQqvSKCN BKSIB07fazZGV1Br2UryhZ7aTanKARHIy4lWDT/p4ex8GBa/0zixsa2LQE2Ea2KUQQuW X6qGs+uiTaMVo7+i+c6S+4fnSD0v94fWF3oo8= 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:mime-version:content-transfer-encoding; bh=h90+3ReY06e+iLNerRK9K1XsVHAVsoADC481ssK4+Co=; b=gTdApwaoj/n2kOWSRMQTcNFMHp2RixrwxgwbProq9m6S2b6TG4yYzHxBVzX4WK9Eps QxSHaVPVW9mNWLeQZnQUoKzSAWh+DtDGFext6HT8FShKaB/NLbAakXiytOqzZfT5oIpJ FZGd1O9Klsetk+13D+s5Oq53R9MpaNnABLxxJVekKvVWTh35TH+ddoup3JEnTzplPi2Q OfvTyS/R/CI5ePW3oTzkVnppWw13XS6B+tAHsxWDgf9RVR9SkYpV6k0D18gFSDU3meJ2 qmBzyMws5G4PTvdw9O4DgyvJOOlY9LN/yL0ty8CVUR/ffyTcY4l2RtuklFq2H0r2tDoW 5vtQ== X-Gm-Message-State: APzg51BIBvJsT+8N2u5NIb9cqawaNfcj64GPDnLjZLq2P7RV+toGfef9 BtZfV+q4pR3HTd1TC+9U9a6gsg== X-Google-Smtp-Source: ANB0VdZo4wKJcipB23hvnpu9zjqRshfW+LUEaQCUpjtUL80B+uDc2z69nsKbRNDNc41ZV++xbYr9Rg== X-Received: by 2002:a2e:650e:: with SMTP id z14-v6mr7958371ljb.62.1535369788605; Mon, 27 Aug 2018 04:36:28 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id z15-v6sm2737503lji.58.2018.08.27.04.36.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:28 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 1/6] soc: qcom: smem: Add missing include of sizes.h Date: Mon, 27 Aug 2018 13:35:59 +0200 Message-Id: <20180827113605.9594-2-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing include of sizes.h. drivers/soc/qcom/smem.c: In function ‘qcom_smem_get_ptable’: drivers/soc/qcom/smem.c:666:64: error: ‘SZ_4K’ undeclared ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; ^~~~~ Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/smem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c index bf4bd71ab53f..b77573eed596 100644 --- a/drivers/soc/qcom/smem.c +++ b/drivers/soc/qcom/smem.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include From patchwork Mon Aug 27 11:36:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10577027 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D750917DB for ; Mon, 27 Aug 2018 11:36:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C67C8296C7 for ; Mon, 27 Aug 2018 11:36:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA1FA29821; Mon, 27 Aug 2018 11:36:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F8E1296C7 for ; Mon, 27 Aug 2018 11:36:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727206AbeH0PWu (ORCPT ); Mon, 27 Aug 2018 11:22:50 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:38192 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727056AbeH0PWt (ORCPT ); Mon, 27 Aug 2018 11:22:49 -0400 Received: by mail-lf1-f66.google.com with SMTP id i7-v6so11659677lfh.5 for ; Mon, 27 Aug 2018 04:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=me8/a8IQyU0522obqv5m6glMpeNSmc8yqidyogcAdvg=; b=MifOT8bjJVGHMLIUsZ1CADkrB4uJ2vMd+2CrgouN/Mvl8WfWJwKwnpnYCUSTQnkgr3 W4j3JML46U0p28u5KO2N4kasQavEAK6svfjYsZthRUmloaf11uAFi5fRrgeB5J/UwRBQ aXdyJ/GdSMve4GUVmRhDUJMwh39+/HvaFKq1Y= 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:mime-version:content-transfer-encoding; bh=me8/a8IQyU0522obqv5m6glMpeNSmc8yqidyogcAdvg=; b=Ln8LnLP5h20apWwu9R8XfBQEeg9sUaTnCXzY5Mkyflrz/yi8op1Vii7hy2uwsCria1 O1X/0AxDWrQKV5cB5S6e+jxhwuxmRHjDinfvcoYoja3W21PbmhGR1ejC1FSK3HI+oDEI YkCW9oMQhYPMSWRxHrgNGx25h+fzBa5k9Y/o760+p1qYuEP0BKVMfltOX8wRA4yap4h5 W82CrUMPSb/g5ilMnAmFeSz/6cufs3JhzmeoeUs+GNFUEOtv/KTb4o0KYtoC+Qy1RqsC 0dh6/+rdCWRbJGFl+lfJUzFKX0L6URtJaz0QJ3R7ma9JJ4rmFGswg0BP4iwsWqIyxmTd WJgg== X-Gm-Message-State: APzg51Dm2iMTeWK2+oR3S6HUJIfD+5qQhN/ABWAltULw3pVHlqgeogl4 5Dq9d7YR9ktIjX86BeFcx0WQAQ== X-Google-Smtp-Source: ANB0VdYKF+5CelqOiYr7U5FPLbeg7FeNAnYT55IQP6ORg7DoQuRlzmm++7+eXpZ9D74uF4Eh2Whj1g== X-Received: by 2002:a19:8f10:: with SMTP id r16-v6mr8627064lfd.1.1535369789828; Mon, 27 Aug 2018 04:36:29 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id z15-v6sm2737503lji.58.2018.08.27.04.36.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:29 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 2/6] soc: qcom: llcc-slice: Add missing include of sizes.h Date: Mon, 27 Aug 2018 13:36:00 +0200 Message-Id: <20180827113605.9594-3-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing include of sizes.h. drivers/soc/qcom/llcc-slice.c: In function ‘llcc_update_act_ctrl’: drivers/soc/qcom/llcc-slice.c:41:44: error: ‘SZ_4K’ undeclared #define LLCC_TRP_ACT_CTRLn(n) (n * SZ_4K) ^~~~~ Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/llcc-slice.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/llcc-slice.c b/drivers/soc/qcom/llcc-slice.c index 54063a31132f..344dc2daf431 100644 --- a/drivers/soc/qcom/llcc-slice.c +++ b/drivers/soc/qcom/llcc-slice.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include From patchwork Mon Aug 27 11:36:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10577029 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0E7345A4 for ; Mon, 27 Aug 2018 11:36:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF88B296C7 for ; Mon, 27 Aug 2018 11:36:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3C9129821; Mon, 27 Aug 2018 11:36:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88198296C7 for ; Mon, 27 Aug 2018 11:36:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727430AbeH0PXF (ORCPT ); Mon, 27 Aug 2018 11:23:05 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:35690 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbeH0PXF (ORCPT ); Mon, 27 Aug 2018 11:23:05 -0400 Received: by mail-lf1-f65.google.com with SMTP id q13-v6so11677455lfc.2 for ; Mon, 27 Aug 2018 04:36:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qtQHnawV6159KrNcAB+r9rRijDPcx3eyatNOzc6jgxU=; b=F10bkLx4vRVWo+LK+XQazzLWsguLXbosnjp990AklBvgmtBAStFQGiaFIjsVmAy60F 4MJboP3MpTgszwQrw3NazpYQeg0XgNaKwRlAXzZC2a0ARp501WVNfOZOtmvzDjM+LVgi K/kqT6AxT2LT0uiQQYcEhGA5oAqwLcrTGTHwk= 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:mime-version:content-transfer-encoding; bh=qtQHnawV6159KrNcAB+r9rRijDPcx3eyatNOzc6jgxU=; b=Vhqw7efZynvRQ3Vvhht0zLgCxoWs6ULHbNW1RAkNgluzl/9Vu0kuqZ7bUa5yX0Lbz5 nSpIrMgs8fCECZPRTaqXP70qS7hgPV4mixL0L8w1ncXt4nQC3K2ax5jt2goQrLGkKBvZ rwLuHx7Kr75mEZMQog4jloaDGWOwdV9TR4lYN7n9CgpebfHewz6quVgEIP31lrQzxcCG b22Yh+nB2PYexvJjaJieQSmFJPX0ckAEthGr2XGVlIpYEnuHgTAl/T/P6YtoCgeK/4Ln dhUaAcySXOIXcZm0hJT3rX0g1gyK+i8qlfDI0cTnnX5U3o4C07vMFlzETJT1Md/Er00C Z5pQ== X-Gm-Message-State: APzg51A15HFUz2xp8BjtnpELQZ1M1zhsOikImAvF+SEGegjxeasOG3JB H8nFwk/bOwPOt/jWhLa5NAf53g== X-Google-Smtp-Source: ANB0VdZq1ot8ORXiuDiW0ue576gG9TYZZXA4M2fS+zppmJDTco0FupWM9oGBPCYl1rrZf3e8kXZ1dA== X-Received: by 2002:a19:9710:: with SMTP id z16-v6mr8658868lfd.17.1535369805738; Mon, 27 Aug 2018 04:36:45 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id j10-v6sm2724498ljb.33.2018.08.27.04.36.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:45 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 3/6] soc: qcom: smp2p: Add select IRQ_DOMAIN Date: Mon, 27 Aug 2018 13:36:01 +0200 Message-Id: <20180827113605.9594-4-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since we are using irq_domain_add_linear(), add a select on IRQ_DOMAIN. This is needed in order to be able to remove the depends on ARCH_QCOM. drivers/soc/qcom/smp2p.c: In function ‘qcom_smp2p_inbound_entry’: drivers/soc/qcom/smp2p.c:317:18: error: implicit declaration of function ‘irq_domain_add_linear’ entry->domain = irq_domain_add_linear(node, 32, &smp2p_irq_ops, entry); ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index ba79b609aca2..6e063202ad0b 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -134,6 +134,7 @@ config QCOM_SMP2P depends on MAILBOX depends on QCOM_SMEM select QCOM_SMEM_STATE + select IRQ_DOMAIN help Say yes here to support the Qualcomm Shared Memory Point to Point protocol. From patchwork Mon Aug 27 11:36:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10577031 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 78A665A4 for ; Mon, 27 Aug 2018 11:36:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66485296C7 for ; Mon, 27 Aug 2018 11:36:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AA7629821; Mon, 27 Aug 2018 11:36:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04EFC296C7 for ; Mon, 27 Aug 2018 11:36:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727057AbeH0PXG (ORCPT ); Mon, 27 Aug 2018 11:23:06 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:40016 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726894AbeH0PXG (ORCPT ); Mon, 27 Aug 2018 11:23:06 -0400 Received: by mail-lj1-f196.google.com with SMTP id j19-v6so12056061ljc.7 for ; Mon, 27 Aug 2018 04:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IW7gPFbp3Cs/xxYQ78q60NQhn2rxDLB3vVZCg9hJpfg=; b=apoOolr/9TM7NmQflaNp3bpWWKcSz745g2+GqW34BVmSqNSCSIys0ljgLb+jeLP5KW lh7tK1UEniAdObHGYzt9H+FDNSMdp/syrGYrCijDLyxX9THu0g8CKK5WCsxqQWLJNqrj 44pZH3fqNQ/V5/MnWtSoa6IH/Vq3FGHLVK3wk= 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:mime-version:content-transfer-encoding; bh=IW7gPFbp3Cs/xxYQ78q60NQhn2rxDLB3vVZCg9hJpfg=; b=DVEhf3DySy1fJSrmoQvulhShLVdOrlv5P9+QCbFuHA/nZ7oOTRYMYOTwEpfdLQLdrY A/xv9Md7Il+yf1GVUgX5EazXl0dMtgAYq+HHS+LeMQ7GQkVo0pya5JW659NJ4xmhGb5n uzB3xKDrh8FqONpiGYd9R8JT9muCJe7PJLYlja3s7vV3LS87nhBiXdpL2kL4pOyirDJZ PZP2c46F9GVe8WzrMwohMsa3iwSETeHMJVTBbTajmjF0aEDb/TiR4H6+ZLZh90vh4Oip 7Aeb2kj1rOvjFQuqnG4RLstYBp5hVdnwI/Mqdp7DKi0rdBt7MxTn7CzqVPhZOAf9LtU6 GfWA== X-Gm-Message-State: APzg51DpKxD0ptvfKp/TC83YRBxl0+49c//6t5w3k+VjdmSgda9o7l6X 89thyrTdTnSGB3dAenBPo3UKUQ== X-Google-Smtp-Source: ANB0Vdbd27tBhxXbnG26/bCvQXkbWTYuSQyhia9WqhUpFkSKzGFWtcfIfNQk6w7w2W6ct/vbRB0w9A== X-Received: by 2002:a2e:5b4a:: with SMTP id p71-v6mr8069666ljb.91.1535369807019; Mon, 27 Aug 2018 04:36:47 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id j10-v6sm2724498ljb.33.2018.08.27.04.36.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:46 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 4/6] soc: qcom: smsm: Add select IRQ_DOMAIN Date: Mon, 27 Aug 2018 13:36:02 +0200 Message-Id: <20180827113605.9594-5-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since we are using irq_domain_add_linear(), add a select on IRQ_DOMAIN. This is needed in order to be able to remove the depends on ARCH_QCOM. drivers/soc/qcom/smsm.c: In function ‘smsm_inbound_entry’: drivers/soc/qcom/smsm.c:411:18: error: implicit declaration of function ‘irq_domain_add_linear’ entry->domain = irq_domain_add_linear(node, 32, &smsm_irq_ops, entry); ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 6e063202ad0b..7da6e67c7ea1 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -143,6 +143,7 @@ config QCOM_SMSM tristate "Qualcomm Shared Memory State Machine" depends on QCOM_SMEM select QCOM_SMEM_STATE + select IRQ_DOMAIN help Say yes here to support the Qualcomm Shared Memory State Machine. The state machine is represented by bits in shared memory. From patchwork Mon Aug 27 11:36:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10577033 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 59E7E5A4 for ; Mon, 27 Aug 2018 11:36:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48FF0296C7 for ; Mon, 27 Aug 2018 11:36:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D4E829821; Mon, 27 Aug 2018 11:36:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA3EA296C7 for ; Mon, 27 Aug 2018 11:36:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726894AbeH0PXP (ORCPT ); Mon, 27 Aug 2018 11:23:15 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:40477 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727469AbeH0PXI (ORCPT ); Mon, 27 Aug 2018 11:23:08 -0400 Received: by mail-lf1-f66.google.com with SMTP id x26-v6so9592190lfi.7 for ; Mon, 27 Aug 2018 04:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5y8f1A2LGSv4rWnyluaZwk3cmZztXT6bBDJJy++sGPI=; b=VrBnXDAWgLJ5x+JAZKARR1QWt/kO7N9zrOQs36lDWm3/6C+PozN+cMMY4QnAbj5rQQ hr8HGeU57oK3rhYQB/mrLZKY8a34P/5PSgDTmEigH5nyZuKOG0UgN9LUKotbGN2iN1mq 9TlPwUc1HEB5DJ35+DgznO1vML0nlUdWScGUI= 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=5y8f1A2LGSv4rWnyluaZwk3cmZztXT6bBDJJy++sGPI=; b=faGioDBLAWeVV1E+xwTJ0Cjv+PVgQtxNQtfeZweOtAmrmC8zsQQXSbfHOxkkVTClkF 1XOnmocfr7sRD91NCRvZpqXRyUb1Z+bNgwF/bfjYUlaBV4ipMxvJOc5KHCto4nnOPyje 9R8UHGW4A4uZUJC72t6sXc6otJfojeBEJGdFMdmE+xIcwr0ExQQiTXlvZxsH6bNYCLFM syFbgi38RzxGFHXRafXA5VBUqgWLUVK71DCa5+BReClTZ7HwWk4kGVad6ssT3DPERBun mprF2tUkMZv2iR1L8b8z39v4u08WP3kp9wHkhA6NafGidyactIirSFEmlykQbEwwrU0V l1BQ== X-Gm-Message-State: APzg51AMFKSHPZ0GQMJcm5BTM6UGQN10GymL+3a2RG56z7/s2nR3dWXw wLRj26McuyBf7YJnMrb7znBFLw== X-Google-Smtp-Source: ANB0VdYjng1xa3PJSYzbAJFifxftASjs6fkz2kWQUjyLggbGC+vaVm7uXOU2KuZDDM6MJn5jcxcpbQ== X-Received: by 2002:a19:d98f:: with SMTP id s15-v6mr8563849lfi.103.1535369808470; Mon, 27 Aug 2018 04:36:48 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id j10-v6sm2724498ljb.33.2018.08.27.04.36.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:48 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 5/6] soc: qcom: Remove bogus depends on OF from QCOM_SMD_RPM Date: Mon, 27 Aug 2018 13:36:03 +0200 Message-Id: <20180827113605.9594-6-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-1-niklas.cassel@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP QCOM_SMD_RPM builds perfectly fine without CONFIG_OF set. Remove the bogus depends of OF. Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 7da6e67c7ea1..ac657164a136 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -114,7 +114,7 @@ config QCOM_SMEM config QCOM_SMD_RPM tristate "Qualcomm Resource Power Manager (RPM) over SMD" depends on ARCH_QCOM - depends on RPMSG && OF + depends on RPMSG help If you say yes to this option, support will be included for the Resource Power Manager system found in the Qualcomm 8974 based From patchwork Mon Aug 27 11:36:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10577035 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 60D9417DB for ; Mon, 27 Aug 2018 11:37:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F82A29781 for ; Mon, 27 Aug 2018 11:37:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43E4729821; Mon, 27 Aug 2018 11:37:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FE0B29781 for ; Mon, 27 Aug 2018 11:37:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726966AbeH0PXZ (ORCPT ); Mon, 27 Aug 2018 11:23:25 -0400 Received: from mail-lj1-f180.google.com ([209.85.208.180]:46291 "EHLO mail-lj1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbeH0PXY (ORCPT ); Mon, 27 Aug 2018 11:23:24 -0400 Received: by mail-lj1-f180.google.com with SMTP id 203-v6so12030949ljj.13 for ; Mon, 27 Aug 2018 04:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NtiMjRzmWzHX4uiypyPK/pndRvCDAWXrFCNoaRIqQmY=; b=Cr+cDwc11T1tliNfeRdHr9TicTVGlDmvlWSLki2DA6tI0LpTzCi2vNMUHvd07rs2u8 fPLCcQWkUnH8uBpEADVjrV78txbJQiHWL3JQwB2n6QumHNUJ6vlMgVMp+1wUlvb3vfmQ cA4P3sbeXbGdT2FTx6QdKT1gC/oGOBCFoR2Uk= 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=NtiMjRzmWzHX4uiypyPK/pndRvCDAWXrFCNoaRIqQmY=; b=Lykf338F0L7sPnceE6NNJdAuyd4qFTkn3jN+KAqdWP6ljHcgxh9PHsAW8l0hWw3hoH jV3kJGj6rCWmvogRojL8x5DtlZiYRoxAOC3E1Divbx5IqbtTJBbRHC6eELaA2ZEKmYyR J5nGIxTb10fnsi8Wv4OBwTX26o4Nf32+FZL2sorZ3ZQDOA1eq1uwBcPyzjTaxP6qPL5D g0mcbU/IA7Fw1OeR0q3r0raLXrJaHRLzd6YN7144gUUlxHrZR1wMeZXiponaUAcw7BHO DkuuLHNHiWce8lJs4VMW1ASpgY74Snw8nQmTQDO2bh6sfuc9NzEiKc4XXEBo4UEkZfJx lVlg== X-Gm-Message-State: APzg51CSliMmC4IntmOPgPiMHRtP7cPxGYmUvy/T6PNtRirwo4A+uTDi hne2xyPSOWUVaqVz5Hg3U5EA/BaFD7g= X-Google-Smtp-Source: ANB0VdYa0vpeEdyl8PfUrFhNHIB/nHeQuD2LmO4fNwqdkd9EnrOGmxgqzcv1gK+MyvLtOjE3zw5Jvg== X-Received: by 2002:a2e:8957:: with SMTP id b23-v6mr8897187ljk.50.1535369824487; Mon, 27 Aug 2018 04:37:04 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id u28-v6sm2241961ljd.61.2018.08.27.04.37.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:37:04 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 6/6] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Date: Mon, 27 Aug 2018 13:36:04 +0200 Message-Id: <20180827113605.9594-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-1-niklas.cassel@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), we unconditionally include the soc/qcom/Makefile. This opens up the possibility to compile test the code even when building for other architectures. Allow COMPILE_TEST for all qcom SoC Kconfigs, except for two Kconfigs that depend on QCOM_SCM, since that triggers lots of build errors in qcom_scm. Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/Kconfig | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index ac657164a136..fd09b95be0ba 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -33,7 +33,7 @@ config QCOM_GLINK_SSR config QCOM_GSBI tristate "QCOM General Serial Bus Interface" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST select MFD_SYSCON help Say y here to enable GSBI support. The GSBI provides control @@ -42,7 +42,7 @@ config QCOM_GSBI config QCOM_LLCC tristate "Qualcomm Technologies, Inc. LLCC driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST help Qualcomm Technologies, Inc. platform specific Last Level Cache Controller(LLCC) driver. This provides interfaces @@ -73,7 +73,8 @@ config QCOM_PM config QCOM_QMI_HELPERS tristate - depends on ARCH_QCOM && NET + depends on ARCH_QCOM || COMPILE_TEST + depends on NET help Helper library for handling QMI encoded messages. QMI encoded messages are used in communication between the majority of QRTR @@ -104,7 +105,7 @@ config QCOM_RPMH config QCOM_SMEM tristate "Qualcomm Shared Memory Manager (SMEM)" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on HWSPINLOCK help Say y here to enable support for the Qualcomm Shared Memory Manager. @@ -113,7 +114,7 @@ config QCOM_SMEM config QCOM_SMD_RPM tristate "Qualcomm Resource Power Manager (RPM) over SMD" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help If you say yes to this option, support will be included for the @@ -150,7 +151,7 @@ config QCOM_SMSM config QCOM_WCNSS_CTRL tristate "Qualcomm WCNSS control driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help Client driver for the WCNSS_CTRL SMD channel, used to download nv @@ -158,7 +159,7 @@ config QCOM_WCNSS_CTRL config QCOM_APR tristate "Qualcomm APR Bus (Asynchronous Packet Router)" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help Enable APR IPC protocol support between