From patchwork Mon Jul 23 08:20:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142550 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5779165ljj; Mon, 23 Jul 2018 01:21:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeFlu41ZJYGIsWUWm2/Cps6uxVw6tr4uG69jVYY/8ZuZPR8N97awLj7lzk0Y2dwkTo/Svey X-Received: by 2002:a17:902:3f81:: with SMTP id a1-v6mr12015576pld.29.1532334072338; Mon, 23 Jul 2018 01:21:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532334072; cv=none; d=google.com; s=arc-20160816; b=y2g7FbnvXiyHw5PEC+apAZcfiWGS2zbxrv+4d+EjLVs9bUDSX0qzRPAeF3PO66f2yK XNprRQk6FHwbRTPp52Fh/Zhtg3axyllvGQ6uixT3iK/9uqE8BO2QuttvxpXzAMqIFDsk /7HaUpBY0v+UKovs2RxODy+TH02O3P5hB4ioJaulFiACS8Dw6jyruLw2MTDVs4acw4A/ vEvd6GUGM/t7oE7xRfeNtcU6AT4kKinr1v2jD4/SKEYSNw3R5MH/kLPT5R/2jfrnyio1 wySWWcTO/KRJfuYi1qbsk/hTZqPhko8Gqij1sazG24D5Jx4BUzxAMlnfV99eTnIdpCk6 3Kww== 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=t7+QyqPMO88Umv+LGn6jQphpqWXgeXchQz4qyTyla4U=; b=ghnc5Nu4bsL1cyCoI9JdZOKVBvuh0eUz0XsJKGem9fgXov5BuPInJevaKJuf+8ItZQ 8qeyywLVpF/gGLIB8RaPty504HoNY5Dcq9v/XfAtWddaKPhF68oVfRWADcFIAItyqN0n 2aeTuWlMbZeaHdRTC4BJSW0cVEeGV9j3NMuTxvm8yMmfLNOsXUH1JMOHAQL3SixFD7zh YVEKjWk28toTZ6RzOfG0fZWG1KGsm3QN+MU/goPXQbeb4QTwUT8Gv7vworXZHkpvVGNJ GKaGjhgswZw+BaznDWeP4TSQ9ON/vDyuaCV2g/d1/ONTbYwyM7lcxitQI3P/VIhRgP69 UecA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=b2bORvLB; 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=fail (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 u1-v6si8141388plj.43.2018.07.23.01.21.12; Mon, 23 Jul 2018 01:21:12 -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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=b2bORvLB; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387918AbeGWJVM (ORCPT + 13 others); Mon, 23 Jul 2018 05:21:12 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:38918 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387913AbeGWJVM (ORCPT ); Mon, 23 Jul 2018 05:21:12 -0400 Received: by mail-lf1-f65.google.com with SMTP id a134-v6so5761648lfe.6 for ; Mon, 23 Jul 2018 01:21:10 -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=2zLmMH1XZJmsJl4zboO6NrrFSxqjm/DBUDvbElwOeYM=; b=b2bORvLBIDEd0zdFJClx6ImPf58wBJuCAsL8POpdVosgqDgZPdDrgw6IQE4k9Yyk5f iLaF3TG2Z5XGeFUYKKeqcQAcs03giQzsApGakD5Mftf7g29+6Sq9V8OwWbHfNRlBZL+B nMiUr0KLZHb0IH64th9w8vtdzNH4jsihLWkhg= 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=2zLmMH1XZJmsJl4zboO6NrrFSxqjm/DBUDvbElwOeYM=; b=eEk5UkwUhITWH+tTtJq9VY0QYLJiZcOCtkN7DsUjVlAwBZz/8lsjuGWSc0yH7TmZb/ NPPgb7+rAGpYLDz7kzpzDuUKMv46cUY8+mom9aUiDDRG3DMoZzyc2mIslEN++J7WMnvY 0RSpn2j/1T+MU/faTETZnVfA2IuIe1t0bSXf1A5fYQTHwP98tT4SC/8iY0HlpeYXOQbT t8pu3LR3JuQfJDorwR2vlWJDZd0jnpwZpdHhXsEesGYF2xJ1K30fvkr7hQdbJPYKK8GR LAd36xxEBsWSmmZfGHjAXQNm6UTg1M/R20pcEFNi+lcyM4OnW+gbq8xHjI1C213tp+4U x4rA== X-Gm-Message-State: AOUpUlGTeAUnIU2Avws2o+CFRV3RaaUO0ca1guii4626OnQVbBn99z18 xOAInO+Yt4T3KjNwNBzDgH1Ci0kG9Uw= X-Received: by 2002:a19:6511:: with SMTP id z17-v6mr6573763lfb.56.1532334069638; Mon, 23 Jul 2018 01:21:09 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id a14-v6sm1711120ljb.49.2018.07.23.01.21.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 01:21:09 -0700 (PDT) From: Niklas Cassel To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 1/6] soc: qcom: smem: Add missing include of sizes.h Date: Mon, 23 Jul 2018 10:20:57 +0200 Message-Id: <20180723082102.29673-2-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723082102.29673-1-niklas.cassel@linaro.org> References: <20180723082102.29673-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 --- drivers/soc/qcom/smem.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 Jul 23 08:20:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142551 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5779181ljj; Mon, 23 Jul 2018 01:21:13 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcq5+MJS4ejWcGLHJzboECCK6oVs4/CJSbsLf6HI+7oh1PFJM0recyDq0ru04iwpsy56yFq X-Received: by 2002:a63:6e08:: with SMTP id j8-v6mr11271371pgc.428.1532334073524; Mon, 23 Jul 2018 01:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532334073; cv=none; d=google.com; s=arc-20160816; b=sJ0TXNXptefGtkMiUpQCrL+nqwzErrA9MyBgoDdTuCQQCVTg7y44IR7J/lKlz/gPxC 1ceG3jrcGVdsFSg0jJHHweZJvxosifakkBKIxumPlS5UZLw8mINV0Dcbyu6f09zk5VK3 l94qlVker8jUslezKC0lazsnQVtMlC36cDRtQhl2wsD1c9rTazP9WJMdb5wpCgUL9n0c aOS71+m92JMXYsphobfp+yUlWwt/MQb/7uJnEGgtblxt0l8ZUV2VreE4QYZeNjD3JOwX DQh9zHrKisNdoFzUv7g1Ae6Bju4Bx4jC+YRLNh8rufACpjDeqPNDrWnPBHvANTt8Fqkh +pBg== 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=eXne+FW7XIcrjvdskFXaCGVu4tcHmnjfOv4UFeAyFFw=; b=e3zJposZK3FgkGsd1l50C9NetrKzlGHKIZXxco6zkX5Ygvw2de1ZgCT/qsu+rPzSQL 2vkJsD3640n5SFbj0nQSzzJvlBt+qokG072Bhm4WfYGrUcrSw0Jy3JFQ6tTdf+xLjfZ+ qEkB6U062hM/xMMU408KTBfpnJTjfmvHBO9vhkmRumkJjLCv5Oi/yli1ADX/Qxhec1lS 06TGc3QAhpslL1S1OmJDrUdpVBTj/9rcGa1tyhnwEGqYZAMaGtsEa/KnkVjGmWBkPTeb 9Ttjh/sMg1m+iYigWIhE8wkG6E5BvKn9hkwGAKMY7cL1FNaeWRCNePB5AN1ao6mhN7sg ztYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OupS74EU; 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=fail (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 u1-v6si8141388plj.43.2018.07.23.01.21.13; Mon, 23 Jul 2018 01:21:13 -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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OupS74EU; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387921AbeGWJVN (ORCPT + 13 others); Mon, 23 Jul 2018 05:21:13 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:35207 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387908AbeGWJVN (ORCPT ); Mon, 23 Jul 2018 05:21:13 -0400 Received: by mail-lj1-f193.google.com with SMTP id p10-v6so16106050ljg.2 for ; Mon, 23 Jul 2018 01:21:11 -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=YxZoOnMBBaMHu+GYGtu1M+smNc9fzMzxIu/46hN2MMg=; b=OupS74EUbef/X5i+pMlC3Ayy2o+sUwBQwk0x+48Rs7SS/4jzbCvV2Em3nkYIkDcULQ uD62qoasNenXWmhe0M1mM4409JpsCxKF6SNuhwmCXLSDNOZ5Kg3Te8HufsYVllvKsJE+ bhl1i72JvtcedjaFdTGUOyfNbf9Xv3PPKpU8g= 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=YxZoOnMBBaMHu+GYGtu1M+smNc9fzMzxIu/46hN2MMg=; b=ThZynhtkp2ajUKY8E+56EkYl7olDP/kEpnZQmqWER9KWKdhom7OKjctfh0/XQCLqIk wpSoKJlhyh1OVzBIRaoXuTkEdkMhZ5Xmi3lQ7oCrPZS2YXFQYg+eDqgGKRxoopdlKoS9 pifrM0qRA8lTG07xNbaAs9SEGG+8UJ6NL9vkKPQxLARZkLD0tvfOPZ+8gz8t28icFtbB scb3bTmtVSmTWy6QSLHKSUqeZWJkh/YzUuMSX7tuMc+cXai69l1y5cXMD7beUy6+snMI ERckVv3fS7flPDp9gxi94jR9/eZbITw7wAiX4sICXganSUGc1v9pHShc32QInSU20hvs 5+IQ== X-Gm-Message-State: AOUpUlHIQ4bTKA0sPwhkli0HEIyCRSqJAPIlvvnJr7+Afdp70UzDduzJ TxALJB7tRfP9xk2Ty/pTTxBGOMCmMwQ= X-Received: by 2002:a2e:869a:: with SMTP id l26-v6mr8888408lji.48.1532334070665; Mon, 23 Jul 2018 01:21:10 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id a14-v6sm1711120ljb.49.2018.07.23.01.21.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 01:21:10 -0700 (PDT) From: Niklas Cassel To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 2/6] soc: qcom: llcc-slice: Add missing include of sizes.h Date: Mon, 23 Jul 2018 10:20:58 +0200 Message-Id: <20180723082102.29673-3-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723082102.29673-1-niklas.cassel@linaro.org> References: <20180723082102.29673-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/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 --- drivers/soc/qcom/llcc-slice.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 Jul 23 08:20: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: 142552 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5779200ljj; Mon, 23 Jul 2018 01:21:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfWF7yVc2hF+Zhlaw4o18dJjGV9j/aNnVjeteBmu3u37mXNmDr1FgHaKmcN6z++JTO1t+jv X-Received: by 2002:aa7:82c3:: with SMTP id f3-v6mr12218746pfn.136.1532334074508; Mon, 23 Jul 2018 01:21:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532334074; cv=none; d=google.com; s=arc-20160816; b=M1ueVBrKlbh6ESEopkEbrajpcSDvUE0DKVkBVl8yvvfI5KcKLMY8ntmqapmCFg9RL4 vD76kyJZyldLGVd3/Y00Hdmm6cMXcw44aSX49G9XIgyqTcZWtwZlZD1Ky87SMJX840i9 PlTPpK0Wik0X0kT4VCdW20JuIRb05LpoGUV9n30OUJ3I1kZiWOAZXYTAi651nOLGsl0A 06VpmrX6lAAAKvxkZFsGsSyqN4AZt4Insag6I5Apzn4oFVQyUwIp+YfFU4xt4EjNYdx5 DXC6Rcf0Z5xQyuyIiINJNg522GLsSYgoJDJJQBZVqAGIN/8fb5gem2tnYF7NpUphA99F KEBA== 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=lsdEM58x68j3BsB0zAMr5q3/uXg+st7fJFcu9xgm9zA=; b=n0D3gQaOwF+XQ0NhPN+qBGcnFggG5UBrCuidZpYLrOl/GneMksJJEW/9uLZ3MQ2ySq IqeVynb/+Fww0QvhrAnJl/H+UftsYYG1lpInm9RuFBBZO7X0+8JKGRmaSuC3/fRczDji BqtPICpAp9t+endWM+O9CtQYXt6+iLAwuIdUxfu9gRPYsNBi5bgewD6DkbQF3h06i7LP X1rh9SeH91ykq4z/oH0GnG/RBMVr9JSi2gYOgq/ZteAw+hC1A4vEZFQ0DC03NuwbYujn rYdk8Qnh05w7EbPM3KfVPwnuFs6z4EFbmdPu8hRUD+46W8L48sLSgkBKr3xrqixdLAZb UUqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ib2+8lqS; 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=fail (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 u1-v6si8141388plj.43.2018.07.23.01.21.14; Mon, 23 Jul 2018 01:21:14 -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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ib2+8lqS; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387923AbeGWJVO (ORCPT + 13 others); Mon, 23 Jul 2018 05:21:14 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:43608 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387913AbeGWJVO (ORCPT ); Mon, 23 Jul 2018 05:21:14 -0400 Received: by mail-lj1-f195.google.com with SMTP id r13-v6so16106368ljg.10 for ; Mon, 23 Jul 2018 01:21:12 -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=55gYUD6xc2LOUVPeIagURcs5IORgpz31cRgPFxnmojM=; b=Ib2+8lqS3U4XLbNX91eOa0dV+51FbQ//bB+OQIgcTadpMNKbbMI/80zKpB9Byurm49 6JbG+i+v2kBR6y9syGylkJDJUTbDOspugTSBKeXEDu+UJH70HHgP2UFFAuw4BFzljz6F 1nKBxTlBeE3DCK1+I6rIbVwZ27mQJe0NJ8dcY= 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=55gYUD6xc2LOUVPeIagURcs5IORgpz31cRgPFxnmojM=; b=fWXyMq0hnIbGzY3rVpEaWtg+kteWFCpIw0Ias8slUkikLuis4PA/mOWcdLAaWzULKp cXut0NTLowk8v/gr8umJ628Qg6rML/W3OUwr5NBvba6OYC2YCDwD3om5DWeRXc12dAnH Bpm/71CS5265awPAbfYImJ05KBgtrxwmviJJBuuyat+x63qpNZeeXMXROFV4O6twptx8 Wt3qaZdlrqU8j236ik7fwdYeB2X9LFJHNZPyzZu0gupkdDB1zqZ117Gxk7nBYzyaaSGU oa9wxW0jvIliRGNZ4Rgw/NdO6ulKYmTTNn8f4AR0837HfelU81ukdwP8++RYTWrdfllk ED5w== X-Gm-Message-State: AOUpUlFGgILoALBSimBBSAybQcqeFJq0eAbrTt8aZTlr5All41qYDlPy TrAuQRF3bUQTRQub3sLXdH181w== X-Received: by 2002:a2e:2d0a:: with SMTP id t10-v6mr6607417ljt.8.1532334071664; Mon, 23 Jul 2018 01:21:11 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id a14-v6sm1711120ljb.49.2018.07.23.01.21.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 01:21:11 -0700 (PDT) From: Niklas Cassel To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 3/6] soc: qcom: smp2p: Add select IRQ_DOMAIN Date: Mon, 23 Jul 2018 10:20:59 +0200 Message-Id: <20180723082102.29673-4-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723082102.29673-1-niklas.cassel@linaro.org> References: <20180723082102.29673-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 --- drivers/soc/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 Jul 23 08:21: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: 142553 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5779214ljj; Mon, 23 Jul 2018 01:21:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfQbq0huu0SWkyoQmcq09l3v0V/IaOrsVAAkdk71QNvnf05apQ4gGoqiHon24Z17cV5laiA X-Received: by 2002:a17:902:bc41:: with SMTP id t1-v6mr12148540plz.26.1532334075495; Mon, 23 Jul 2018 01:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532334075; cv=none; d=google.com; s=arc-20160816; b=st3hjwevKVq+t+lm5s7genRAFFCIS1sWWr5JExw6H7MzE3DkkWw3Hbem1YeG58w1EO NkXpTL21jGZxmsibueMosyjPlfNU+FpvtWmCe9QBeBHGU6Muac3sBIiOemnY8J/DIsfE 6blKhfzksWs9NNDDa+ppFGUoNMyMAlqVmRgAhTZIS4LCgfADhdNJgGsugmCAjMCCw9dS /8GQ150L8M5qTVYuHiD+abrhkKcmrq/fw5Y+QzHtyPU3F4By+nnXA7I7BqV5HjuwTGa9 011wzOIQJDuliBJOQKVPuC8iGF/RdL2SQgVpEBBUo8Anywn1yO5qk+6fwZy0uItlVMnl rbFw== 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=ykURP4b/NAZCz9w8G9O7pUAeMnckqx38MqSNIMj+IMY=; b=nod8/YGl6SdTjCYeVCmXLDqwE8exyptPW9v2QMjWXfAoELrvumDbdOS8pJmzpFCu9Z ilhaEWrpnLtspI+dQVoUqERkaPCS0yIb8z9Vgz3FhiqySpJZ/2M1MFBoWIGGTfdyECvS DfxYatlBm4GU+eX6NF+IYNWb3cO49okav2xBHfuNrupd/9qk00DvGJsikQv+L5wJkRWY l6xIPMPvGsl2o+2MSIMsB9z7qbvncWcWSluGnu4gyEuVCII+0KqidAl8tbIl3TJYQ83L 0qTJQtLSnXHsHTOzepIkY84lY/DBC+6/+pqnZG9pPxMxluDkpaDQZV8qqrOApLUDM+Ya 1/Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PlsDgGKG; 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=fail (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 u1-v6si8141388plj.43.2018.07.23.01.21.15; Mon, 23 Jul 2018 01:21:15 -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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PlsDgGKG; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387925AbeGWJVP (ORCPT + 13 others); Mon, 23 Jul 2018 05:21:15 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:33316 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387908AbeGWJVP (ORCPT ); Mon, 23 Jul 2018 05:21:15 -0400 Received: by mail-lj1-f196.google.com with SMTP id s12-v6so16121581ljj.0 for ; Mon, 23 Jul 2018 01:21:13 -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=u9pEPmzX+lZG+sMNs5xFEhFQhYRf+TwMdbnt7S/dESA=; b=PlsDgGKGUfibUtpMGeGxrvjngU6Wa34xtc3B7Li8S0tt+gj4uuhiLhxlOtD0LYAulP nEXI8dw5rQM/piFMil830SikGOy9kJPj74+V3y3BUfpaxl8vEFk6Oal1PXVo7XBuURAs T9zUCsiH3xkwVlAA1oEGI8HMMdX2zcydcrq+c= 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=u9pEPmzX+lZG+sMNs5xFEhFQhYRf+TwMdbnt7S/dESA=; b=ucZSD6OAt/mLbWy8Y+6u7esrKgelq8GvgqcDwM7viT3zXyd/WJrH0tugKW+DnZszw3 vvMMbz56cVuph1RyrHodFXgxxJ6FCHOTfZCZITL41fR0Ekv5HD0iqBFAKiJ31BkUGlqP V4QI3j7ZiJNT4e1YL//hkZsHfaKGAtj8+4NtS5MT7nYN10jRdmIxgh/4K71kr/f8NcXw ySXI8Nh2Iu/whUh1JvzMj1w3yKNpSdP0aKv0H5qjW4/GoJtFGVcwanoubK+CVBoSh34o Qk9LEeiQ6+7SFI/YV+I3huzGGmMq9zV5DcwRh+o2yEEttEyCzJApjfpg/iHuE48D/+wg e+wQ== X-Gm-Message-State: AOUpUlFTTmB5DINfh6pw+ITwJtRfGWMsTSgULyh/M91vTBQkX7KI8t+5 ZZ1xWb8zXrQ2s+C1f/hFd+f48g== X-Received: by 2002:a2e:1b03:: with SMTP id b3-v6mr7956614ljb.24.1532334072692; Mon, 23 Jul 2018 01:21:12 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id a14-v6sm1711120ljb.49.2018.07.23.01.21.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 01:21:12 -0700 (PDT) From: Niklas Cassel To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 4/6] soc: qcom: smsm: Add select IRQ_DOMAIN Date: Mon, 23 Jul 2018 10:21:00 +0200 Message-Id: <20180723082102.29673-5-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723082102.29673-1-niklas.cassel@linaro.org> References: <20180723082102.29673-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 --- drivers/soc/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 Jul 23 08:21:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142554 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5779224ljj; Mon, 23 Jul 2018 01:21:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc8E6N/Rvi2Zfil9G6xqIi5X1r7AorY1zz3TuJaq56K63SEwNEShURe33foWk2V6J08AofK X-Received: by 2002:aa7:84c2:: with SMTP id x2-v6mr12180088pfn.220.1532334076475; Mon, 23 Jul 2018 01:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532334076; cv=none; d=google.com; s=arc-20160816; b=hWKDAMoRbCfOmnwwaHJJkPr6A1QQfegnedpwxB0Pc+DCPRBZcEhgRMLGUxk0XowezE wZfRDnjy3GSPr8lPOPADSSqV+DSQpTx6w+H562l/0I/JP269oJVkWHtVxWwJ3WKCcEdG 7wzcvxxQmKtdazjGIRPfaqYazyPWUtBhPMXB2k2GawjAK5e3Ub7i9WSZAoZ0DrHnyIKo B8xTDV3tl5m1tbkEPy0xE5FBHF8yS8ERcSxWoqByW0znFTPtcb+YaFe9DGPL8JoTeEdb neaVcaWmRYPNkSmyHRsGkMRA67NRl05/NQRhdHue+4E1KZcxq9te6cRj7d2dF1j2EJQp kurw== 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:arc-authentication-results; bh=sRuA135gyDSIjwMrvZRJ672tGUL4FCv0nIkyPJ8Wfcc=; b=ZojHVDGhKtAHN54S/8NjJrRp9dnn26drd6Lk9U8T0k97zBtUOUNyRsH2ecVTZStlEc oa7/FiqoEMoSVDUfUT2qw8yhw9Y6ZNuGouByMKpvs+ljhvkqWyf+hRM898tBmVylHRxQ vPmbPIDpQnEIiEKYEhotLi3si2lBAqQaVv8FtBmIzI0BZ86PyY4J9+YD8DeVB0jCvoxX COSylwDHa7JUO0BUpUCZrdSAxqOCh/IwkagUnalR0eZlw0eFuJvyBuEoEH8iVzWlwlLe PsaKol7MgHP29k4IcKDJ7p0Z+H8a80nWklvjj9vJF/V/5iM9hgLvwxQxeoe2CUbQntvV N6cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Y26z9puU; 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=fail (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 u1-v6si8141388plj.43.2018.07.23.01.21.16; Mon, 23 Jul 2018 01:21:16 -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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Y26z9puU; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387930AbeGWJVQ (ORCPT + 13 others); Mon, 23 Jul 2018 05:21:16 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:33316 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387913AbeGWJVQ (ORCPT ); Mon, 23 Jul 2018 05:21:16 -0400 Received: by mail-lj1-f195.google.com with SMTP id s12-v6so16121615ljj.0 for ; Mon, 23 Jul 2018 01:21:14 -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=oIVq7UnSrlAFhQo1tAqTqkKsqSdzRFKQ7AdWlS1whBE=; b=Y26z9puUxYSlw64wjEJGbqZ6/Tjc3xKCuzIZnDsLpydKd7me4u3y2NpidUM2jeJywK J60ZkQ5bTonAPHmGHTUllKa7cB32N0Iqsojoi1E2mTofvvwkqq+WCKsuzOnP9ikGhfJH rOFBjM0qHSQWxlIjvWinNZKaSOEAJ52f2LTnw= 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=oIVq7UnSrlAFhQo1tAqTqkKsqSdzRFKQ7AdWlS1whBE=; b=mZB8N3YKDeFwWQC8tePpj4HF86iMiAAuEPuGmXfTWexlhpfpp9Ltd/mukWTECvh3cV ihAE0p+ogoaGmWxii08mKxLSH6ZDKxBcsRCuIMAy6PGBqsy7dEpCZMmQ+mYKdVpwbZZ7 xaMMOrzoHcpaEjH9iZIjwY14qvPUrZa93cpZuHXdCXaAMS+ORdxxTl912RRsmT6Mho5+ 4jV9KlVfrZBW2p93DJZ/wGcXiCJpfQKi9DBJjRCWw7e/hTJ5pjiwWFsF5qoWam9iwedS dv9nu4o4GPQWSzrvYjN2omSeadMDzdHGdxKaIScfQ7sbyxbIarCr+rjjaQLMZEzKzh7z /jUQ== X-Gm-Message-State: AOUpUlG4sZdPtk5C3FMvsOizY8Y8Ya415xzxvftPZPHg4D5ZIyruJ7NK IdPOl5JTfyRmQI0whMAFTjyW+w== X-Received: by 2002:a2e:1004:: with SMTP id j4-v6mr8523313lje.2.1532334073691; Mon, 23 Jul 2018 01:21:13 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id a14-v6sm1711120ljb.49.2018.07.23.01.21.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 01:21:13 -0700 (PDT) From: Niklas Cassel To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 5/6] soc: qcom: Remove bogus depends on OF from QCOM_SMD_RPM Date: Mon, 23 Jul 2018 10:21:01 +0200 Message-Id: <20180723082102.29673-6-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723082102.29673-1-niklas.cassel@linaro.org> References: <20180723082102.29673-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 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 --- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 Jul 23 08:21:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142555 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5779230ljj; Mon, 23 Jul 2018 01:21:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcTocIFlD4IrqdFVuK38bPs/wE/acWuEqv3EctpG1FEosxXFCUNZt83sgHtjTJWCWpZJgQP X-Received: by 2002:a62:ca0d:: with SMTP id n13-v6mr12122611pfg.69.1532334077610; Mon, 23 Jul 2018 01:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532334077; cv=none; d=google.com; s=arc-20160816; b=vjFGymAngMiPsbS+HI7KuW18LPfTS4UW0E5+NYBoFIIMvSlGY+WvOuFqfrLVn8ZPOg OV25evHE9LyLTjbRkJ5PIPDBnY/aYQRr8mDNNrkbJ8O2810/Qab4oi2yUADBFmX5DZRZ a13NaT6XTA2unYqfmAA0jQ+3JO/f+3dr+sh2gOcbPNwNe5dEf96HXV1SpxkwfYy57Nj7 09RuI9Y/CvdlYWMl9XPqApnmJVNdoNWKeisBf3nnht66j1h0jhoVe60a6EZD5z4mOFen 67VLyENMSy1x7/VxaPwYEIEYHxGKJNlyX0jru3NkgCWJYo1NxZ0Kq35/P6qb2d6jDXjw 99SQ== 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:arc-authentication-results; bh=Yf3zkFOK1J4ECAO5WW0Fb13wpcsCE7+v3M4XMBeb6zY=; b=l/MRu1nkNLDRBL7C6b+qdv3fhfO3UBuEL7P+74QrGEXOt3Qk4VsCj8G92kdYDL7Iio XdkZImY/wAhnRjqasIMXXi+znSFZLuF5dhdYr6yod3TDodboy1uHdd+Bdj9IdtCnniqa 78ZIMePAbluBLYEdAf0Dx9BcyffemLs0Qk03nW5Hu/EmV6EDKIORCTNVb99Sj9F+pZIR vUgUfqrGa0j7IYlde9oPygf3SPvIoU35XcFBQfzO/DOM5MOruTxv2cO4dYHkidjRvoYC jnCX96NE5v+1ebLhE8OxEIpEoHnxKJLICsfYdGXqIru//oQn73BdQXqDfNK7NwAaI1qM 6N5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Bj9g3LMT; 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=fail (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 u1-v6si8141388plj.43.2018.07.23.01.21.17; Mon, 23 Jul 2018 01:21:17 -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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Bj9g3LMT; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387913AbeGWJVS (ORCPT + 13 others); Mon, 23 Jul 2018 05:21:18 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:44430 "EHLO mail-lj1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387908AbeGWJVR (ORCPT ); Mon, 23 Jul 2018 05:21:17 -0400 Received: by mail-lj1-f173.google.com with SMTP id q127-v6so16091144ljq.11 for ; Mon, 23 Jul 2018 01:21:15 -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=Zn6AGVTF8FvDYiiV0DBK5fZcXVpEs6QoBygpvkQPuTs=; b=Bj9g3LMTVtYwJaWx+u4JPrGW3eIHMUt7qiD6KQLf7yafqcl14GJ4lxULZT6yMO92Qu 1uCmBl9XhIiSs8cHHVolfyAvGXP/4VbHfiXtYh+X8zqFE2Rcpg7ALcg0m72IR1hW4mKh C4jEJIqFhwslUA6gmb3Xjn14wHaCqX7Cg+q0o= 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=Zn6AGVTF8FvDYiiV0DBK5fZcXVpEs6QoBygpvkQPuTs=; b=iWA+hAj92t1qWReqKjdGTxaaa5StICl4MphP2mMSKYMxP8rzyi8Yptj2MLiAObtM1G ato7QcZfK2Ytz6NojLyLoOg8Vj0mGsdqvfipzEyN0zQ8YrrH+7Bazv/55ttrEXrrB8mv kOOGt8W46R/GEAzUd93LlgDusO3YuDPFS/vCvH/PKuKSItNSt95cMR31Hb4DcBzplZYg NKNIlARqMDTjBy9gfXj8+sS5LQhvUPGWTVEaSkXxZWeipeT3Z4eMBGbTGeM1/5mS89kK C4uZjLXIP0qteF5AmJhyhSnZfsvhom5vpMdUXeKoaHN5GR+QLOHCN4QQI9ATJzp4NT62 m6Ow== X-Gm-Message-State: AOUpUlHaeKjkbtlUVptuEHBnL/KfEZfj5d7/lYENcJxmZgEpC7irKA1B DQha5q8oEoZNetxn5dK59wwDJKgG5V0= X-Received: by 2002:a2e:2096:: with SMTP id g22-v6mr7945540lji.37.1532334074822; Mon, 23 Jul 2018 01:21:14 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id a14-v6sm1711120ljb.49.2018.07.23.01.21.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 01:21:14 -0700 (PDT) From: Niklas Cassel To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 6/6] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Date: Mon, 23 Jul 2018 10:21:02 +0200 Message-Id: <20180723082102.29673-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723082102.29673-1-niklas.cassel@linaro.org> References: <20180723082102.29673-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 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 --- drivers/soc/qcom/Kconfig | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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