From patchwork Wed Jun 13 12:53:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 138450 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp683967lji; Wed, 13 Jun 2018 05:55:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL+5vt76O+XNFkuwq8pAwQFPN80hvMeapSgGczC+0ggGwQxhpGHEmWikI+0qX+b76JOBcT+ X-Received: by 2002:a17:902:650c:: with SMTP id b12-v6mr5108885plk.31.1528894511301; Wed, 13 Jun 2018 05:55:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528894511; cv=none; d=google.com; s=arc-20160816; b=UJcRSKGzt1yE9Y9QcLe9cg3/zR8/NV529Gd5jFGX0NpsGG0C8ynCuNPm3SDe1hAaSC KjrqUKtXDMMBBbmq7oY2M5tmpP3YPARD/0fGrEZlDtR2l2HsRQtYSeme+rKLKv7kQfiX xuZd+EYQymwdR/gkUoUcLvpkROrap4I0/SwiE8lsW21fjd4Sz/qCPEG31NZfYfdnhbtz AfrBACKz4eCZwiSl9fb6M1xFMtHX0EX3Nqwv2i2iik2RvafnZhmcusFM0PMKGc245GX8 HA+UKhkjvqZBloZtbGyk8Isi2PiiP9tG7zbjKS74sXkJCN1TvvpKEvJX99PdA1LZBvOG ZjNQ== 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=BuRAUWq7O2zLXqV2NWRnZ70tza/xOBEVCO/2+vpJ/MI=; b=ZWqlMWTN4UAKcAFNvo6y2+HduOx6Jq7YcoiYA+/YdQLUVLCa0rIvMoyVtK2cjg6uSp 7jOmkBYo9DfxBuGEIfQHTSNlcbsTlgfjeKV2Vd1ORdvRy8NeXyR4uvNZ7dHOFoTygg47 /3Y5AEp/2sbA5y6UDL6LLgdyqJ3MsIGhqHUtUDdlhxQ7fGzpDt/RUQpCMPseUyo5CMMo hkdHFpReA7234OiqHvlmr0aNi5MGDOOlFeDxZHIme7le2/F81XXzPBjDKKuJVkKNHDw8 Lm8XH2nynlzKJyi2Y/koDnWY2l4giFliqXBstRAIZ08mN4uBWMRL9VNIcB754eWoCThc hebQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M9K5ymwF; 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; 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 w10-v6si2645613pfg.328.2018.06.13.05.55.10; Wed, 13 Jun 2018 05:55:11 -0700 (PDT) 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=@linaro.org header.s=google header.b=M9K5ymwF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935601AbeFMMzI (ORCPT + 30 others); Wed, 13 Jun 2018 08:55:08 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:42233 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935365AbeFMMzE (ORCPT ); Wed, 13 Jun 2018 08:55:04 -0400 Received: by mail-lf0-f67.google.com with SMTP id v135-v6so3754936lfa.9 for ; Wed, 13 Jun 2018 05:55:04 -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=BuRAUWq7O2zLXqV2NWRnZ70tza/xOBEVCO/2+vpJ/MI=; b=M9K5ymwFZ4t5t0FhfE5HWzsMG4CykQzXsi0AnfQ9zk6+VcUx/1T8mI8nY9kbMeS9nf WbFj85E60zTgYGLvdR2QakSEiaoXneOBFze7Gx8v3r4V3vFoW8WRiFa9Qf/IcS/QScjO I1vWcJBAgLDhlvA/3kqK6y7wi0eQ+OIBTkhJQ= 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=BuRAUWq7O2zLXqV2NWRnZ70tza/xOBEVCO/2+vpJ/MI=; b=ox1vNzmn+p/9jFdxmBXBtkd+copH+CA8Cqjde+IOElcY5m8ynROWkj6n32onhXSvdJ MCLFZghNHGgcohV4E4Jy8Z04ebm7qxwQ9LmFAWLMx4ems3C0hiZvm15LS4RgQ+brNVrM tmAPITv+nWsV4tUbp1bvHOOqmo/x7+dc+FMMiiNYLvP+Od9KJVmlpYz3hdMz3T9UVTud XGJc2VUzZYPlBYqU3NJ79TwWKMV8ZGiHmaAfHLEjNb0S2Sp384R0tAMpK7803S9o27rR 4MuKoPS42mtbFxHjuw4KFxeXDvu+L01JUWB6IfO3z1hghdbrw4ZeSbImiobrcr6Xv3H9 HBog== X-Gm-Message-State: APt69E389i2RfhYGAvZWh2GWZA7bhff24e41VRgJDR+Y+mmAmVLnC0om 4OChXMWX7Dki69+qwY1XTOUMwg== X-Received: by 2002:a2e:9dd0:: with SMTP id x16-v6mr3048006ljj.142.1528894503621; Wed, 13 Jun 2018 05:55:03 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id o9-v6sm580840lfk.2.2018.06.13.05.55.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 05:55:03 -0700 (PDT) From: Niklas Cassel To: Ohad Ben-Cohen , Bjorn Andersson Cc: Niklas Cassel , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] rpmsg: smd: Add missing include of sizes.h Date: Wed, 13 Jun 2018 14:53:56 +0200 Message-Id: <20180613125401.11734-2-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613125401.11734-1-niklas.cassel@linaro.org> References: <20180613125401.11734-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add missing include of sizes.h. drivers/rpmsg/qcom_smd.c: In function ‘qcom_smd_channel_open’: drivers/rpmsg/qcom_smd.c:809:36: error: ‘SZ_4K’ undeclared (first use in this function) bb_size = min(channel->fifo_size, SZ_4K); ^~~~~ Signed-off-by: Niklas Cassel --- drivers/rpmsg/qcom_smd.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c index 6437bbeebc91..8695cb041c31 100644 --- a/drivers/rpmsg/qcom_smd.c +++ b/drivers/rpmsg/qcom_smd.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include From patchwork Wed Jun 13 12:53: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: 138452 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp684312lji; Wed, 13 Jun 2018 05:55:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL83/yovGzcCSi5690gx4zTfu0t5vluOdNcdKE46hqYoVjZ4vNQcIW0td8P/DcLWFllpZ7X X-Received: by 2002:a65:660c:: with SMTP id w12-v6mr3985422pgv.404.1528894530173; Wed, 13 Jun 2018 05:55:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528894530; cv=none; d=google.com; s=arc-20160816; b=SwUGOmtFE7tbmia5JogMqSHB7S+vNw3vNjjykrvJe70lUcZkKZ25/Iocm61Uln3Ss9 fMwwC813J4zvuHXnfV0sRJ97Zy+lzNy/KaRH23nUg6VIz5xubv2Qv3B85voC/wBeGg1R XrR6ywkGFig7J65SagCADsSbleVZ2bSXwwGHvoLga4GBsrSvHJ9JQQ0G6vMMO+dWGVlH FATUvhQ3nHbB8rdEFrHUvMSyH0FjkubUBlFuh1sEwLT6PcrkPWm1BHfpzPBhD+RQ3CTO Du1KliAXlGThgAcS6OBuhzPsAkIQhZSO+LVWy6TbB2usltwmzYrJh48q27wHyEMYBUtx mBng== 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=S3hIKntiQ7FDruQIk4s8cWntlo1jMsbA4iHu4PLiEgM=; b=nkI/yop5Lb4Dfhvt1QOuIgULOjVs9qCdlxMJnrUigwXNoPzhFpAEc/3c3zwH1W3N+J qI23a36rMrvUNcOjn2e0NmjqSsRp41RDJkql5garez69Mx/mEwOKupnOQC4XkKFlyUHr eeN1xx2eUNhpWrAphAPGXh1US7y8DEeAQCoOIuJbfvZNp1hGRhZETABD+xm+4ONsUYTG T7SQmieOei7PHMqj4NmO592YiQ235RIMAo0C6HZ9DLxlpwK9z2LI67F3xjCdcJN8oFRZ CxZqRVTdz4Cz2NY0rWjHVY14gepOdGDB6PoGset/sJ8oT+msML7/CIUwPqxUMpV6BIjA 8gUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g9tLhdBd; 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; 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 f21-v6si2946983pfh.33.2018.06.13.05.55.29; Wed, 13 Jun 2018 05:55:30 -0700 (PDT) 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=@linaro.org header.s=google header.b=g9tLhdBd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935637AbeFMMz2 (ORCPT + 30 others); Wed, 13 Jun 2018 08:55:28 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:34060 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935406AbeFMMzG (ORCPT ); Wed, 13 Jun 2018 08:55:06 -0400 Received: by mail-lf0-f67.google.com with SMTP id o9-v6so3799785lfk.1 for ; Wed, 13 Jun 2018 05:55: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 :mime-version:content-transfer-encoding; bh=S3hIKntiQ7FDruQIk4s8cWntlo1jMsbA4iHu4PLiEgM=; b=g9tLhdBd1l+7JBG7DkLppCbmZJKyku7LaY2n5CVFt5xC7ojDuDOrDHoYAfgYCN24HP N/4YWouaUlXTqsToy/8fEYQtySRHJ1ULj6oK2mKVCteXE7DwweSE0ATA812TGi3tU4BQ q/BrJAuEeyee+ATKGVuXUKf2g3mkdYkEdGa4s= 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=S3hIKntiQ7FDruQIk4s8cWntlo1jMsbA4iHu4PLiEgM=; b=CTLkrNGBbO/m/IwDkdf5xrnW40XuL2E7rB8RJ0sUc6Rw6ZjYE5Wd51VuYlV0qlg+3K gI8Ppg7tkU5vQfYT4dk7c1OogGtxkdJxMIMlYM2oMUlxw53vdVOXtlFEsAW/gRhvjCJU wbpg6FWEGsGvCpdnuvF+aumnh1oh15HYuoK+vS6kyYRpDrlxAqAMqzpbCgKELn7ZO9N7 dbTUcSdAqOWcotxvCQI6xxIZ4HWaI/ZVkVdrZxAUVr43YvsqndzENuSMqwS8VN7pQipQ oECqOh+p/9zP51FVoqnJvR2wJzn+43KXqQ/EX1poXhJPazewUZwazSeMvJL042sPaV2K bvWQ== X-Gm-Message-State: APt69E1MRjXc88fQK5DxMuf9lP7iN1AzT/gDuKYN2zEIrBqogn+xwZQd 7ZRifm/1yxTMKZ6ndnVRTIoY0Q== X-Received: by 2002:a2e:994f:: with SMTP id r15-v6mr3030329ljj.53.1528894504982; Wed, 13 Jun 2018 05:55:04 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id o9-v6sm580840lfk.2.2018.06.13.05.55.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 05:55: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 2/5] soc: qcom: smem: Add missing include of sizes.h Date: Wed, 13 Jun 2018 14:53:57 +0200 Message-Id: <20180613125401.11734-3-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613125401.11734-1-niklas.cassel@linaro.org> References: <20180613125401.11734-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 (first use in this function) ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; ^~~~~ Signed-off-by: Niklas Cassel --- 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 70b2ee80d6bd..0fcf60e8269c 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 Wed Jun 13 12:53: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: 138453 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp684377lji; Wed, 13 Jun 2018 05:55:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKBTqmjXTJjrle0JRGnsQtLLkMM8FQu3d3PnPHLKV31c91fnN3O9uZlWVeY1w5q+UPNYLq6 X-Received: by 2002:a17:902:47:: with SMTP id 65-v6mr5106178pla.229.1528894533969; Wed, 13 Jun 2018 05:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528894533; cv=none; d=google.com; s=arc-20160816; b=B8LhSbAzIiyvoQzE39EsptvLHsQF2civUeU0w9GxEFRFW0mkn9Ry4gDt4gxYww+HCZ RktcIKJ8MU0x9vYdbGzOlOs9vxAlLXGeVmuYQirTvmv0EINrvp2TECPJbfioo5B9LmoC 0o0MqYI3V6PhKgqXqGIOs+U+alMCxEII/N94rNR17n/e0FnPyjAa7DBYfwN4X4IZYdbS diTO0Rc7zQKOFK+r+S1sCvGzvPgw8fXC/kwcp53JpEAqeBLyJ/IhGHgUoUlLP5Sk+RiN NXxnoH1Ck0fIeDYgyF21rCrM+z0PYEw/4b8t6dfJu/FL/4bZwxQCLoXBXyjrQZtKDVDg JyQA== 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=M6zw4wLJZVQHCaGthfXT2V4RF0fCTGlqbZ+/633hWcY=; b=ocURUyUVyJNsvn1Cghgh+WmgLcP3yKxAHi+0y3ok4FzzGMB+OGY7Ndrpf+itkVTnsD D6cjbutAjZH8H0q034cXxOcYVSRkdde7goCCr2AIM4Tjnd8w5WV5M7iw0uqI2dgeq4o0 SEp3xXDkdSv1SO7VoVYP6gsvufuZZ/VL8rO7ROKUF7B41924tt0O1CD8m+LkTRx1fmMz g40iw0Lq69AvDIhES7x62O2AqTOGJ+yBVaxYFM+RLF1sIaVEZAP+LsmyDaqJgbFqkBDs izE/iifPxu0SREQPbhJNJ/uPW97AjVZMqVqvb2goulX6o0OBpth7zwKqdGdcwkYWg9ri hXpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LDrPK6Lv; 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; 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 n12-v6si2364267pgs.560.2018.06.13.05.55.33; Wed, 13 Jun 2018 05:55:33 -0700 (PDT) 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=@linaro.org header.s=google header.b=LDrPK6Lv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935652AbeFMMza (ORCPT + 30 others); Wed, 13 Jun 2018 08:55:30 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:40630 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935602AbeFMMzX (ORCPT ); Wed, 13 Jun 2018 08:55:23 -0400 Received: by mail-lf0-f66.google.com with SMTP id q11-v6so3775622lfc.7 for ; Wed, 13 Jun 2018 05:55:22 -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=M6zw4wLJZVQHCaGthfXT2V4RF0fCTGlqbZ+/633hWcY=; b=LDrPK6LvZuOfCk+L00ewYep1TjE7J/hzkLkl+Ev9TTYzdal74wbRiKELMp9IuyMY0M D7NB9uJY3LkoulvlorFBzNK/BBm5iDYFQ7wO191AdXH76YCuhuP/harkXiJgQF7Jx8r6 WoUITcsP4dCEOBIJ4Sssg+XoTLtKDaL4qFbNU= 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=M6zw4wLJZVQHCaGthfXT2V4RF0fCTGlqbZ+/633hWcY=; b=X49pZ1rF38x2Y2WEa7kCYow5lYOR4+G0Kf2pP0F2nAGR8CxLIWLtQuqlvEhD6DYJoY xIRVC4COtf/z1QUugqkcfs1vGfdEtjS9qLIJpaf6ZhNyfNYRwTUAHBeaSs/GX99Icmh8 KO4Hx2rlQlb2GqbRwKLckQhfGr2Y3NVCkkTEdyVIglo1fcyZu/bRMwqbj/HH77A3IoVn oTjuORYbs9/H7txk2XvCxEOYoWrDsC4w4fzPdO0u6NrrYdFQEmzCbZRxCyPC1VVBunyv gYuyOUM7tQteP5G5pKnjzv/j4neBpv6yZHH4pFdc9yR/UVSCmdcPWc5vEgojrVNaBokK 6xqw== X-Gm-Message-State: APt69E1Y/iK5s2nTg8IkEpcKp/XOMpiHIMRQ/uQ8+iB9Dmete0NYsZ4S OJF/PxF+JGcmvWRG1ULw9ecWfg== X-Received: by 2002:a2e:9204:: with SMTP id k4-v6mr3088773ljg.144.1528894521763; Wed, 13 Jun 2018 05:55:21 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id p5-v6sm526516ljh.3.2018.06.13.05.55.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 05:55:21 -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 4/5] soc: qcom: smsm: Add select IRQ_DOMAIN Date: Wed, 13 Jun 2018 14:53:59 +0200 Message-Id: <20180613125401.11734-5-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613125401.11734-1-niklas.cassel@linaro.org> References: <20180613125401.11734-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- 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 2f59d0a835fd..1d4a9f3ada8c 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -115,6 +115,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 Wed Jun 13 12:54:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 138454 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp685136lji; Wed, 13 Jun 2018 05:56:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKXxt8S1nsU994SeclHhzQcIbzk3ggqOSlNXI/JzL9RAH8Nir8b4MxSWNkuImXjlbnBAPtB X-Received: by 2002:a17:902:125:: with SMTP id 34-v6mr5139724plb.42.1528894579209; Wed, 13 Jun 2018 05:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528894579; cv=none; d=google.com; s=arc-20160816; b=HsmebKqs9zHLa8XJDt5cZlvpENlO90vIbsBv0lkFtaPyFOZOw1SwSmMxqFp48LTTxR A9PEnb0NVvJ4Kjg9JYQf8sSg1/0QS9tDGxy63eLIRMkpCedv1tzTnPFrXxV+tFNOWe4c vJrxjKj3Q5Jl5GtZRCD/NB+uN9U3tXvbOjEKVTHqqR4n36OoBr+Y6O2U0Nib2GKvFUeK 5df01tIAP560wAsrg6Zi3a53m8OcK7QvhJKncwrTaxb1tdQ2XFOcGasVR1MbEpi9N2dS 5mCKHGd2SXsLyNS54YylpDh2G66YIswZTYzdipzsswoQTl60Pn1bSy+OSnzgg2UIBR1e QCOA== 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=OLH0hJwQ8RwvhYHIJtBDADe36nWSDQszwbIGDDuCigE=; b=mAabWIfupk6dbJWB+SciJ9EEuXHzTrzY7aiikjYxyJsw9gI3VqywQxWxiE+eVCDW+A XlmQakEryDC8IW5hZdvMnGTC2BrnzbgeBbDUSY9cUYoCLQy5D7TQI6/TO60VaOdh0/KX zgNA+3mUiXYsnQL6iWalFzBawEDcDEzoPUA8LYs4kEdifQMgCLXqDsh3lkaos5oqO4Mz mKo8OuI0SJLEj0UrJiHvI+lKVT8yMg8WDMUDHSBqJw0RL87A7Mpyv302sBmik+3Iwrhs GI6A8iMp9W1i0vhCt0YVK1quqrkwgmFQ+2jqXkXLYUYqdTFdVoIAzVIsHapIrNoUqpDd uK7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EPFgj82M; 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; 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 z7-v6si2532153pfn.247.2018.06.13.05.56.18; Wed, 13 Jun 2018 05:56:19 -0700 (PDT) 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=@linaro.org header.s=google header.b=EPFgj82M; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935674AbeFMM4Q (ORCPT + 30 others); Wed, 13 Jun 2018 08:56:16 -0400 Received: from mail-lf0-f45.google.com ([209.85.215.45]:37547 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935608AbeFMMzY (ORCPT ); Wed, 13 Jun 2018 08:55:24 -0400 Received: by mail-lf0-f45.google.com with SMTP id g21-v6so3794315lfb.4 for ; Wed, 13 Jun 2018 05:55:23 -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=OLH0hJwQ8RwvhYHIJtBDADe36nWSDQszwbIGDDuCigE=; b=EPFgj82M3Rq+yQA7dvMSIg4TyN4llg9rorKu+fLpiGlhkOCplhu3Y3s3nauTWyWgsG rJAB3VP3RPkLRtEL4RgTcYwOK5CdYgEohYjLDFBJpBaBLeT8v5+m9gEzJ8Gwh1LRAuOc aeFLMBj31aMJNIDoqDhAmR+ktJf56WVk4B4mU= 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=OLH0hJwQ8RwvhYHIJtBDADe36nWSDQszwbIGDDuCigE=; b=QWSQv8/RGp4xAZLLnfXVKCffMfYL5jNzhxsuB1qspj7KXfOlwicNk8QE4UoLj2+k8A RfByaRHn+v0p3ULKuDwg0vUGCnniwIjzGW8l5fv8O4v8xchWYgvJw+2oTCF7o+jfXXnq ifBKiL9ee7l8jLuC0NfvNfJQdMRqI5rqZvwqWm3fXuxuCEhBj5M1Hp8SyLFSN3OWwcjb Z9s7kRiodJS+mS5d8Fumh7tIkqYCqnd+wAGQzFAV8Wl5Fs9xcYghjDn31h1zYsWdMdzf q2VlKEUvDBsnCbDsYVOnjIqvT44h2q8+aEd1zNSM/3+VipQSxglVDa2aGrSRTPcrQpd5 +MuQ== X-Gm-Message-State: APt69E23z3BCSsQwxQUUkVkETz1wWIrXL7znfAW/uGBdipgPVC/m5HUy dId/NDTnRpz98ilwWjDpLQ/cqg== X-Received: by 2002:a19:97cb:: with SMTP id z194-v6mr3198585lfd.17.1528894522956; Wed, 13 Jun 2018 05:55:22 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id p5-v6sm526516ljh.3.2018.06.13.05.55.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 05:55:22 -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 5/5] soc: qcom: Remove depends on ARCH_QCOM Date: Wed, 13 Jun 2018 14:54:00 +0200 Message-Id: <20180613125401.11734-6-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613125401.11734-1-niklas.cassel@linaro.org> References: <20180613125401.11734-1-niklas.cassel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Remove the depends on ARCH_QCOM for all Kconfigs, except for two Kconfigs that depend on QCOM_SCM, since that triggers lots of build errors in qcom_scm. However, that shouldn't stop us from removing it from those where it is possible. Signed-off-by: Niklas Cassel --- drivers/soc/qcom/Kconfig | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) -- 2.17.1 diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 1d4a9f3ada8c..8c83025c466e 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -5,7 +5,7 @@ menu "Qualcomm SoC drivers" config QCOM_COMMAND_DB bool "Qualcomm Command DB" - depends on (ARCH_QCOM && OF) || COMPILE_TEST + depends on OF || COMPILE_TEST help Command DB queries shared memory by key string for shared system resources. Platform drivers that require to set state of a shared @@ -14,7 +14,6 @@ config QCOM_COMMAND_DB config QCOM_GENI_SE tristate "QCOM GENI Serial Engine Driver" - depends on ARCH_QCOM || COMPILE_TEST help This driver is used to manage Generic Interface (GENI) firmware based Qualcomm Technologies, Inc. Universal Peripheral (QUP) Wrapper. This @@ -32,7 +31,6 @@ config QCOM_GLINK_SSR config QCOM_GSBI tristate "QCOM General Serial Bus Interface" - depends on ARCH_QCOM select MFD_SYSCON help Say y here to enable GSBI support. The GSBI provides control @@ -55,7 +53,7 @@ config QCOM_PM config QCOM_QMI_HELPERS tristate - depends on ARCH_QCOM && NET + depends on NET help Helper library for handling QMI encoded messages. QMI encoded messages are used in communication between the majority of QRTR @@ -76,7 +74,6 @@ config QCOM_RMTFS_MEM config QCOM_SMEM tristate "Qualcomm Shared Memory Manager (SMEM)" - depends on ARCH_QCOM depends on HWSPINLOCK help Say y here to enable support for the Qualcomm Shared Memory Manager. @@ -85,7 +82,6 @@ config QCOM_SMEM config QCOM_SMD_RPM tristate "Qualcomm Resource Power Manager (RPM) over SMD" - depends on ARCH_QCOM depends on RPMSG && OF help If you say yes to this option, support will be included for the @@ -122,7 +118,6 @@ config QCOM_SMSM config QCOM_WCNSS_CTRL tristate "Qualcomm WCNSS control driver" - depends on ARCH_QCOM depends on RPMSG help Client driver for the WCNSS_CTRL SMD channel, used to download nv @@ -130,7 +125,6 @@ config QCOM_WCNSS_CTRL config QCOM_APR tristate "Qualcomm APR Bus (Asynchronous Packet Router)" - depends on ARCH_QCOM depends on RPMSG help Enable APR IPC protocol support between