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: 145175 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4079011ljw; Mon, 27 Aug 2018 04:36:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYnV1s0xCPQXjLHAdIsqIqt8bpMxHMfLTtRdaTmEhUvs3/H1MkotGaV75EeD39+c7HbKL7G X-Received: by 2002:a63:de10:: with SMTP id f16-v6mr11866680pgg.97.1535369793670; Mon, 27 Aug 2018 04:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369793; cv=none; d=google.com; s=arc-20160816; b=Y+pvsjOAiixG8Kusm4XcxaNYIUD4srze3pPzXxVHbj2Lkprqq621hfZ2frNTBIz/q1 GaMmXVSNIadUwMuzTp0ZTFutpWtwENStqfq7rwCxw+gYAvLl6cUxSqscqHNV8IFwLvXr lgu+mnkJi+bXauYsltc9DeQ9Gs3IEGfx+jDvv4kGZi65eDQ3cmNTk/I/RoaxJYuUe1Sr EB8km630Sf3wohch44bkF8h9qAWJNdUCmlLkZF34UALTWidm6sPgUsG2N/hhOBAXP5a5 f23jWzg8l6GTWk8Uj+26SZgfivKSLf65cwfWuYdTtl66MbaKtbxCjupjzZKfk9sOilTI +0Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=h90+3ReY06e+iLNerRK9K1XsVHAVsoADC481ssK4+Co=; b=YadnSZlSu3P+W+4zzmHO0ftYZGtIIviCxLXPl9fMqYpaKBwMI33HM7U4sv5KDhGZy7 jNLTf3DUYm/k7wTVNvwWnrCmYW0EsOLXeFNnYPQVSpmnP/nttH8hS2jR++yZ/ZLJsVow vIYxt0zLnKGVGz2b1EkbyfiFiWdZi9QoRczaZYUU4vkVEMSwK+sPjHGlgmJsdF+vjb7a M8L7GH1/DjtnriiZpaFhyLjNYYTWTNbNiazL6I8h5vecSS8I9X8P9bWAQY1k83u14+bF HUaYdORtHiXzDpNI9afppYJMlB0vpzb3LM6qPgnJaDVFyYiOsyuUqlXbTp+hLas6nwxP VMbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j8rNU01u; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l185-v6si15223633pfl.134.2018.08.27.04.36.33; Mon, 27 Aug 2018 04:36:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@linaro.org header.s=google header.b=j8rNU01u; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727331AbeH0PWt (ORCPT + 13 others); 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-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 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(+) -- 2.17.1 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: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: 145177 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4079202ljw; Mon, 27 Aug 2018 04:36:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYmR4f5IX17IPvHR0VgTL2CDVvNEBGEryaxU5acXNTfv4zZ/ACU63asM+djtbL3vS3lNu5W X-Received: by 2002:a17:902:2904:: with SMTP id g4-v6mr12575661plb.70.1535369808780; Mon, 27 Aug 2018 04:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369808; cv=none; d=google.com; s=arc-20160816; b=aKjLnZ5dOk4/tvdimgbIpew9vt3fd3DzyRFh5/EUSkezcRFQi0b3ufmJIDhWwG8CVO 4v0xp7AjB7AU2HM82j2nXgc9XJ88q7g+uKkgFd1TZ0LN6/jkC5yrS8Zwce9xmrj5lNH1 CaZ5cjCzhOwdNoow1W68j5E7LzgUO0Kscdax+S5IFGOhEImx40P/XSTOgpsfd7pZzb8F +8euYAaSk6I0tLeJ9T2CFY2drpGsw45X8LI3RnZCPLXb3YVG0+gNQt3lG+OFPhMz14av 9ytZ4k8Uh1j8CuyxUNLijdOOVu3IEBt5/I8acjsbkaFFkkn5wrz46ahufNWA2s5sXM+t 9olA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=qtQHnawV6159KrNcAB+r9rRijDPcx3eyatNOzc6jgxU=; b=S66EoMGFx98JHrakCntyzboXXi8f83CbjWhE0tfplHh+2mZplWhHkwAwl1ZfA/aWgj +1+J6K/Es7iFTNDy4mqnVzY30tCe6+b/ME1AmmsTcIRAC42gvLVrrMoz4OZ0nTMyfUmk t9HTC5E2armhqESKvP+0dOBd2LvVWRAVmyYfhsVutcS6NqboxBT1PZCauRF66z7+fwQl afArF7YOQDEr5MOrEdGCNJczQb7dXWt0vxEDeFu0OZEwn4LxtFPBDNwI9UgMiZUilAA9 g24NWgID8vJwNXH8I5bOlRK0O/hiAea4RGeWpXz3w8/RJJ8nUDllRIsWLBhpXdoD4+jJ /RSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F10bkLx4; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z12-v6si3353188pgr.386.2018.08.27.04.36.48; Mon, 27 Aug 2018 04:36:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@linaro.org header.s=google header.b=F10bkLx4; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727430AbeH0PXF (ORCPT + 13 others); 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-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 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(+) -- 2.17.1 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: 145178 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4079229ljw; Mon, 27 Aug 2018 04:36:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYGfyNaZkB3lZeC5JyQjVFqxgfhQLNqaeknonI2zib8iqrMxshBQOLcGKze/ZGKKfbNCad7 X-Received: by 2002:a63:8241:: with SMTP id w62-v6mr11351677pgd.230.1535369810957; Mon, 27 Aug 2018 04:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369810; cv=none; d=google.com; s=arc-20160816; b=KUaTjFlRpL2mNfSna7zd1RuNNZaP6dkUeoCWN2SIr5j0v2DvaXWUkl2NeRi/TS9pFz J4Rv1r8O+8cduP48jh7OO/sm1cJCqin3hx0nIoUHG5JeDmKo0Fl65TvbE5NEXjyhyosV JGIKUPbyiVCgynZvZdhHJyWkiTl97S6POi6MRY92f8kz0aBAxfCwOAKEMbVwKzXuj9Jh S6ivcz1s6IIn9IL1d+q3MG3kLEPCfxLJpePxqxNAsKX3JEF4RlmZI+BXMlv5nulm8sPo ZJU4R/zrs1wrj15D297gvG+sq2/fkrSfnKFSVnOVod5veRqb4S8S9gDFilKji9tAv+N8 KEpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=IW7gPFbp3Cs/xxYQ78q60NQhn2rxDLB3vVZCg9hJpfg=; b=W23WrRIgnF44xlsA0hEUjlkz+hDKgOBKnwEMcrgZm32LFpwHv7aramAj1htDyHEK/g b2shXY5q3dbeRMufOPRci7NVafWb6mWqzE3I1Vb4jXVz+aMIYVyggW13z5JuYWZf4nDB JQsvjGdvwr0YaMeybqayJgon4idb4Ax2+J+OgkF1jkzBAH+r1QbA8yerCdjgW6ga9kY/ 5SbEmQjX27kXNQwXgL2Vln+hm2LIiTNtJvQ4IhO5LvRPIoTVS6g/DFRhps6Vg1KlCL+Z Cn5S+Of9Ebdfj2aQ6K9Pai0cqrbtSheFDLSu7fBozNQpu8EvHu9+iPfDkHFvUPVXRnfF +8zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="apoOolr/"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 29-v6si4335924pgn.676.2018.08.27.04.36.50; Mon, 27 Aug 2018 04:36:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@linaro.org header.s=google header.b="apoOolr/"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727057AbeH0PXG (ORCPT + 13 others); 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-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 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(+) -- 2.17.1 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.