From patchwork Thu Jul 25 13:12:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 169714 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp11638312ilk; Thu, 25 Jul 2019 06:21:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1mlnfZuKOCNGLTZom0z5acVwI4gcS1XXGKZsRaIbcPJ49E7HulRDO83D5xNy+jJUtR6Jc X-Received: by 2002:a63:d210:: with SMTP id a16mr84321665pgg.77.1564060873305; Thu, 25 Jul 2019 06:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564060873; cv=none; d=google.com; s=arc-20160816; b=iBkDTCN10Q9YMddSTUVfb1c91NUftzVNq2cfVQ/btG1taXXOsyS09z93UvLhqLPHdQ 49BM1SRDXuyB4dbSmGjzv3Caa65GuruMdYkBwmzu7X+klijQlT+noC8/63rtN8syo9A4 gD9UFXi+2SXw+BIT7yiSZHJDHDTYoiiIJhAwc4ylKa6EN0bVW3FBhCCF0Y12W3VXRGhG rAfWqP9A1YMZiwV3+6BMMrTSCYHCZm3cT7CNET/iVl+R1w8L6ku+fJGkWSSIIRDJwS/0 qkKUzVqJLaH/ri2RrSFPj8zOdvUdvYZwV7QEUNWsWQEp3/R9QEn/F+/RIBm5003Cy9yI 7uCg== 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; bh=X7EMLPA/uXshrhX8tUHlB7rWmq/Bv+vAhoVTbSln7+0=; b=i4GWzr2/H01UaKjQJkecEswa+O1dqXKMW9Yhg5FpN/CS2Uo9hJUWYgrp1GQaWMoPZg I2j8D9zZfrc8AlRrufXea4pLrCGwlDmXLqcPs55zcJAO3zanK+38XhAskN58sN3zmNNA 8UAsOyzz+ywpvUVr2Fi0y0VCtNTrJKQIamf0nPyvFLbiYlnF56lG843osVhgmV4caGvk yKjx2IrLWLg0yB2OREFr0TYKtGl3Bt0EJpAyBa/mfp7KkX7b+LzCwH/4gjl2Dm+eBuTT bCGMG3HwMIcah6Zp8pVQh5jbiZ4KyTnN3KpHQgO0/YUu3X1F2J+1QPWpMf7K0z5IXhbP Embw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=Fv54TOX6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u190si17783053pgd.547.2019.07.25.06.21.13; Thu, 25 Jul 2019 06:21:13 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=Fv54TOX6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729978AbfGYNVL (ORCPT + 29 others); Thu, 25 Jul 2019 09:21:11 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:42606 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbfGYNVL (ORCPT ); Thu, 25 Jul 2019 09:21:11 -0400 Received: by mail-wr1-f65.google.com with SMTP id x1so858626wrr.9 for ; Thu, 25 Jul 2019 06:21:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X7EMLPA/uXshrhX8tUHlB7rWmq/Bv+vAhoVTbSln7+0=; b=Fv54TOX6FNJ//eMWDstY7AgTcgwfVv92yemrD2sdaPfTVJkl9bvR8YctNNHR7vFO8c 4nlTgnbMX0MR5gO1wxfGjqPeFdLyUBpSZeAb19UdpJXpZDdvR0kPEKDVLjPkhOC5HnAg Tm5O5c8BqOIN68y9LBPn9fjxRpgLMXTVhTPA63MHvZdPIRml+TG0FnhiF+JtXpSjBhaF NmjFUf5xfeDe/0CqyrXSV7nLW8WgeJPH8OGpA/YGRm4/IDHcZc/WUfLm2EAKO4bwL+K6 agWZrcuVeaztexlkKJQPKIuFrYKn0Z1+qF5UptZxyjWTe2Ng2S5K0UZwydjUxABAcpY2 OWsg== 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=X7EMLPA/uXshrhX8tUHlB7rWmq/Bv+vAhoVTbSln7+0=; b=ReVlK9ooDgFAFkp/nn5cB0SIf/yaHfS5aZzbRCo+lUZxZ8hXbrTSXUwDVC7aAFHJTA FE74HdA4ywvbH9Kur79EtYSc2ylDymFzl24f2GVg4IhP+G4dP/RL2Rx6GIaILYEuVyi9 YB4KFR+oU4FcaL/VanPYF7i70cZjm6CVXJ5HrcSqgKt2B2Nx8PsnAuzVHX/RN2xPT4aq H+T1hqDUjJmDEEa628kb/fwAfbam/WUp4adO07ML/LlGfBisycPvgGHNAKKUmRCMK/2j bUx7gxogfOhGeP+wy7bbsJ2BvskIHO0b2dm3ob9PSq+Zrq2p2AHjyD2C6FkGNiEzm5Tr pIQg== X-Gm-Message-State: APjAAAVGfcyGntkSP9hseVf1AB5VK5P4xMridY1FbHehIpeF/QTNu3xb tgnfiCAPAWT2kUjjROW15N/wLjQL X-Received: by 2002:adf:ea45:: with SMTP id j5mr19767933wrn.11.1564060383337; Thu, 25 Jul 2019 06:13:03 -0700 (PDT) Received: from localhost.localdomain ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id z7sm47119735wrh.67.2019.07.25.06.13.02 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 25 Jul 2019 06:13:02 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Arnd Bergmann , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 1/5] staging: media/davinci_vpfe: fix pinmux setup compilation Date: Thu, 25 Jul 2019 15:12:53 +0200 Message-Id: <20190725131257.6142-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190725131257.6142-1-brgl@bgdev.pl> References: <20190725131257.6142-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann This fixes the following build error in davinci_vpfe. /git/arm-soc/drivers/staging/media/davinci_vpfe/dm365_isif.c: In function 'vpfe_isif_init': /git/arm-soc/drivers/staging/media/davinci_vpfe/dm365_isif.c:2031:2: error: implicit declaration of function 'davinci_cfg_reg'; did you mean 'omap_cfg_reg'? [-Werror=implicit-function-declaration] davinci_cfg_reg(DM365_VIN_CAM_WEN); ^~~~~~~~~~~~~~~ omap_cfg_reg /git/arm-soc/drivers/staging/media/davinci_vpfe/dm365_isif.c:2031:18: error: 'DM365_VIN_CAM_WEN' undeclared (first use in this function); did you mean 'DM365_ISIF_MAX_CLDC'? davinci_cfg_reg(DM365_VIN_CAM_WEN); ^~~~~~~~~~~~~~~~~ Signed-off-by: Arnd Bergmann Signed-off-by: Bartosz Golaszewski --- drivers/staging/media/davinci_vpfe/Makefile | 5 ----- drivers/staging/media/davinci_vpfe/dm365_isif.c | 8 +++----- drivers/staging/media/davinci_vpfe/dm365_isif.h | 2 -- drivers/staging/media/davinci_vpfe/vpfe.h | 2 ++ 4 files changed, 5 insertions(+), 12 deletions(-) -- 2.21.0 diff --git a/drivers/staging/media/davinci_vpfe/Makefile b/drivers/staging/media/davinci_vpfe/Makefile index 0ae8c5014f74..3b93e0583940 100644 --- a/drivers/staging/media/davinci_vpfe/Makefile +++ b/drivers/staging/media/davinci_vpfe/Makefile @@ -4,8 +4,3 @@ obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci-vfpe.o davinci-vfpe-objs := \ dm365_isif.o dm365_ipipe_hw.o dm365_ipipe.o \ dm365_resizer.o dm365_ipipeif.o vpfe_mc_capture.o vpfe_video.o - -# Allow building it with COMPILE_TEST on other archs -ifndef CONFIG_ARCH_DAVINCI -ccflags-y += -I $(srctree)/arch/arm/mach-davinci/include/ -endif diff --git a/drivers/staging/media/davinci_vpfe/dm365_isif.c b/drivers/staging/media/davinci_vpfe/dm365_isif.c index 05a997f7aa5d..5cfd52ea3ba7 100644 --- a/drivers/staging/media/davinci_vpfe/dm365_isif.c +++ b/drivers/staging/media/davinci_vpfe/dm365_isif.c @@ -17,6 +17,7 @@ */ #include +#include "vpfe.h" #include "dm365_isif.h" #include "vpfe_mc_capture.h" @@ -1983,6 +1984,7 @@ int vpfe_isif_init(struct vpfe_isif_device *isif, struct platform_device *pdev) struct v4l2_subdev *sd = &isif->subdev; struct media_pad *pads = &isif->pads[0]; struct media_entity *me = &sd->entity; + struct vpfe_config *cfg = pdev->dev.platform_data; static resource_size_t res_len; struct resource *res; void __iomem *addr; @@ -2023,11 +2025,7 @@ int vpfe_isif_init(struct vpfe_isif_device *isif, struct platform_device *pdev) } i++; } - davinci_cfg_reg(DM365_VIN_CAM_WEN); - davinci_cfg_reg(DM365_VIN_CAM_VD); - davinci_cfg_reg(DM365_VIN_CAM_HD); - davinci_cfg_reg(DM365_VIN_YIN4_7_EN); - davinci_cfg_reg(DM365_VIN_YIN0_3_EN); + cfg->isif_setup_pinmux(); /* queue ops */ isif->video_out.ops = &isif_video_ops; diff --git a/drivers/staging/media/davinci_vpfe/dm365_isif.h b/drivers/staging/media/davinci_vpfe/dm365_isif.h index 0e1fe472fb2b..82eeba9c24c2 100644 --- a/drivers/staging/media/davinci_vpfe/dm365_isif.h +++ b/drivers/staging/media/davinci_vpfe/dm365_isif.h @@ -21,8 +21,6 @@ #include -#include - #include #include #include diff --git a/drivers/staging/media/davinci_vpfe/vpfe.h b/drivers/staging/media/davinci_vpfe/vpfe.h index 1f8e011fc162..54ef6720ceeb 100644 --- a/drivers/staging/media/davinci_vpfe/vpfe.h +++ b/drivers/staging/media/davinci_vpfe/vpfe.h @@ -74,6 +74,8 @@ struct vpfe_config { char *card_name; /* setup function for the input path */ int (*setup_input)(enum vpfe_subdev_id id); + /* point to dm365_isif_setup_pinmux() */ + void (*isif_setup_pinmux)(void); /* number of clocks */ int num_clocks; /* clocks used for vpfe capture */ From patchwork Thu Jul 25 13:12:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 169715 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp11639866ilk; Thu, 25 Jul 2019 06:22:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7CNf5UusRBvMCkvS3PFJOBjQU8o/oegsWgKZOroaQwjdW9FKsHukebL2wZjAHy6RfusxY X-Received: by 2002:a17:902:5c3:: with SMTP id f61mr84540199plf.98.1564060945272; Thu, 25 Jul 2019 06:22:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564060945; cv=none; d=google.com; s=arc-20160816; b=rAMpyQj713A4X2xH5hEcZqfNIAJICHXTGVX+n1dMe1CpLczUI49b+GMCZnTSG2bxGE H1l1rCjpvo1zrTqR5lzYyE+GDHZKL4/TUUWkPVXbBclFOVKY9mr4R3IEibjcVWzVMmzg Fp0YgF496M3Z2PbOCsF0l0yMzNYDrQLOBED8XcIRxa7iBT8X9ugvebk7a0sOkZ4WS2CJ L1sqhygU2WHaZL2mYYiCuV0TuXuJ/qHmQF85vg27a4BqB0Q0fIbNODVLvD5TsHe9rZpa BNNxIpOrd5s56/IGkADtyJqmkinKXCGy0c+3k7VFMOp9EyBgHA7PT5b0wPj1Auz620Ij ddDg== 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; bh=OrxrzHfdR2gckMKegx1yxVHO2Izu+Cmysz1TGZaUt4E=; b=uyfyJ1xd2Le8tBZlWlDCD5+RwqT+0dINVDylgnXajpsn68b5ORQTOSrfxzOuBaXuB4 L4luLmIn1G8d9duIQ7DI2xDFXm3sFideeDnxw5dn1HbfJPOGg9/l6Dl+MnurdbCAnpAT kq+xDiqZidfcW0oKUxHjEwvCib/Lfg1NKCk6Dj4J6je0mpe/U8Nag6C0tOWwWbxaQ/Xh vGne9Gowr6yENmC9Z+Jvca1sZg2XePH91OgI0DDEiCKues4khcXxVlI4PLSgH6OmhChl ZKCgwX3XgnP9oYw2Yos2VaYq2smi2kxoOGo7s+59LruDUubQ/vsYt6BUzB/xhGqtOIHC Mvrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b="QfISO/Ct"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cx20si14388556pjb.97.2019.07.25.06.22.24; Thu, 25 Jul 2019 06:22:25 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b="QfISO/Ct"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730029AbfGYNWX (ORCPT + 29 others); Thu, 25 Jul 2019 09:22:23 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55477 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725852AbfGYNWX (ORCPT ); Thu, 25 Jul 2019 09:22:23 -0400 Received: by mail-wm1-f65.google.com with SMTP id a15so44990080wmj.5 for ; Thu, 25 Jul 2019 06:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OrxrzHfdR2gckMKegx1yxVHO2Izu+Cmysz1TGZaUt4E=; b=QfISO/Ct6slzzGV6lLrDhhZRemPsoiiqhiQTC3XaMtgSBNxZohmAqrUpq1jAFqR+dD LCZ1ATz5sYQxONgBqCEHM1/VP+XZQEEJ0LyO1MRdBgSUcSDDheE+Ol+wdV0fLvJ8U+/3 6PpNnsAm6dMOefMHtl3Mwvyg2xHuuqeLDgNY/dcBT57jOGgT6JJrafHjBNNwOoZWUBSS mSx7HDxx9q6W9FMW2j2zbTSL33IPhCuiNjNfwG8nl14aSurScQzrUHrWgekI66xDoe16 S6Jnfr09xGbs9+BOC+0nhP4Gbpjbr04cNA9lWG8MGsIGhcX2Qv8rsFtoJETIqp35Qh++ pZDw== 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=OrxrzHfdR2gckMKegx1yxVHO2Izu+Cmysz1TGZaUt4E=; b=QzJB2ahiiKALc8m4oAQ7Tv5kGiYAvipe2IHXCgzecrIK4RilSnqSDz/90ba+4HFBUu jAk3rkCyZTjNWBCgWK98AxUlRvp9c30IBdGfaykW40/96DvQuezqUldvq79+kydMq2Ag Qh4FK4BmJN6kbl+Ds6mCCyPsaOYbj0NWUvkvg9wttJdVH3usoGrsgwmcIHQjzoUU1Wco aZch3NBDnY3LF2tm4qm595V1oHvugL/w6LHLrtyypMsVl65/4Dupn7q899Yc5DkZtJBP vrt88avBZgzNxEgcaU1efjwj304F2lS7pkNfQiS4niAWpGBfLuc7FBQfF3k+KeFI0Gea +trQ== X-Gm-Message-State: APjAAAXL3ipQlt8F8y2d8/v/QRwi7cK/RodhFD5EvYg0wtugqi7/kOZ0 U867ozGpwBQAorW7ToegmiUKgrzk X-Received: by 2002:a7b:cbc6:: with SMTP id n6mr51283395wmi.14.1564060384593; Thu, 25 Jul 2019 06:13:04 -0700 (PDT) Received: from localhost.localdomain ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id z7sm47119735wrh.67.2019.07.25.06.13.03 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 25 Jul 2019 06:13:04 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Arnd Bergmann , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 2/5] media: davinci-vpbe: remove obsolete includes Date: Thu, 25 Jul 2019 15:12:54 +0200 Message-Id: <20190725131257.6142-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190725131257.6142-1-brgl@bgdev.pl> References: <20190725131257.6142-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann The driver builds fine without these. Signed-off-by: Arnd Bergmann Signed-off-by: Bartosz Golaszewski --- drivers/media/platform/davinci/vpbe_display.c | 4 ---- drivers/media/platform/davinci/vpbe_osd.c | 5 ----- drivers/media/platform/davinci/vpbe_venc.c | 5 ----- 3 files changed, 14 deletions(-) -- 2.21.0 diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c index 000b191c42d8..18f9408013d1 100644 --- a/drivers/media/platform/davinci/vpbe_display.c +++ b/drivers/media/platform/davinci/vpbe_display.c @@ -19,10 +19,6 @@ #include -#ifdef CONFIG_ARCH_DAVINCI -#include -#endif - #include #include #include diff --git a/drivers/media/platform/davinci/vpbe_osd.c b/drivers/media/platform/davinci/vpbe_osd.c index 491842ef33c5..91b571a0ac2c 100644 --- a/drivers/media/platform/davinci/vpbe_osd.c +++ b/drivers/media/platform/davinci/vpbe_osd.c @@ -16,11 +16,6 @@ #include #include -#ifdef CONFIG_ARCH_DAVINCI -#include -#include -#endif - #include #include #include diff --git a/drivers/media/platform/davinci/vpbe_venc.c b/drivers/media/platform/davinci/vpbe_venc.c index 425f91f07165..8caa084e5704 100644 --- a/drivers/media/platform/davinci/vpbe_venc.c +++ b/drivers/media/platform/davinci/vpbe_venc.c @@ -14,11 +14,6 @@ #include #include -#ifdef CONFIG_ARCH_DAVINCI -#include -#include -#endif - #include #include From patchwork Thu Jul 25 13:12:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 169713 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp11637737ilk; Thu, 25 Jul 2019 06:20:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVs60zRhuvS8RtcqtBl8ZMmVyb3Ty1XHPnUu3/YddeUI6I82H1kAA684J2nxcs9V9gPCBO X-Received: by 2002:aa7:8b51:: with SMTP id i17mr16911694pfd.33.1564060845544; Thu, 25 Jul 2019 06:20:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564060845; cv=none; d=google.com; s=arc-20160816; b=cLy1MHICYIXpqKPm1QAviHTc/I1kHdjS31mnZ8psDDUTAlzIcZrggbwp/5TZwH6BYb qvzXzqmXfDX4dW5J4JYr0H7m0VBw/H5vgf5hbxSHpsCJG/Ys72OKVf8a37vm1og67j/o mgfD449xSOsikbvHQrSfuhlztTwC2CgoK0kpcZwnE9frIofIMKmyZGoNb7zjgZaJlMRx 8EJsMOoCxuRHpw8fCxUEw5PDfyAfz18g0n9QbFjug8GXJE5ZsmZ5GN7UTEn8CxJ+RwLe gp0crIwEbCbWF9UpU+Gx74jUK11upbxAu/Ulp6dugroQbZszxurWS6wywj1YtGAOnd1j m2kw== 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; bh=J5s3N85M9ajD/urZFm5P9YAai+R4ucnPihB3UAQSabI=; b=BpkYwlc+4eVN4ZmnjVdYBzXEYWYLXXLwp4fgpJN9Zw62wAsFZgVQZGBONJqF9+Pb4x /u5nYYgZ6t7s9QUIKBcU6UFoRMw9gcwO9E8NaTjhiqIENBwUSwdZkXP+W2kU1KFbJqc4 IGJwrMyd1/+HZgABvtmWscXDkYzpLj1R3oIuEt+wbTgsyRRTQylCLiGvNW2u1LuY3l5V vE3CIBdOlm5wx8qxc1qtdIJLYsmqW0YyjnElIyCFIyu/5upKycvrcUhoojs6Di3poJVQ +tlIQbAW/S/p88e5Db9dM/Vq+ovNy/XsxIIgMeGoubB8ZcbL7LH9D5zvetQJdtTSG2S4 oguA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=tr1coZsT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u190si17783053pgd.547.2019.07.25.06.20.44; Thu, 25 Jul 2019 06:20:45 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=tr1coZsT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729971AbfGYNUn (ORCPT + 29 others); Thu, 25 Jul 2019 09:20:43 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33374 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbfGYNUn (ORCPT ); Thu, 25 Jul 2019 09:20:43 -0400 Received: by mail-wr1-f66.google.com with SMTP id n9so50865127wru.0 for ; Thu, 25 Jul 2019 06:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J5s3N85M9ajD/urZFm5P9YAai+R4ucnPihB3UAQSabI=; b=tr1coZsTvMfvRar6herRh/Wc2zp5wCgiRIjYDHYlrYoW2EcVtkoWaSrYBBxU6UmWj+ TNqkCYXH4+gdbK+EXPYJpQzisO6k5q9QXm0XuFrL7rLmfs7gSnVx9gnvMHFmcSe5mdup iYBvtVasBieDcGz+jDGrmItNb34TcQh5OoOW9lIFMKORlPixWZCR1YmsCUbFS+LMiR+M 4+qhpOggSQurUfwusBWvK69/ut64/VS2SiFg0yKbCedE7SKxenCCLkJO2JgcAXCuYqco h+BsCgbKYph0buKQnFjztstk2Q15uHzJoxIcFv5UOXJBD1Q21UcZKIciFA2xSgsvMsJs gjwA== 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=J5s3N85M9ajD/urZFm5P9YAai+R4ucnPihB3UAQSabI=; b=FGPE0UAujM3TLDWSLGs1r0VuHG0Om4kB6LJYte0XWGOiA39RJ9NF3bi3oIZWLGcbHu sd8EO6Jcg7YJAg5O8D7slJsdnL3MLeC2sRTgRgzi68m88lSvbLUhuB5U4jGdsZW4HIRP sXIafK8VdgnduCzT3+KJth0EkMPbRvcXV4LowO2f+iUmUFfKjeFLhoJV7nUsBGEbj6aZ cfkblxImU7k28yfLjq8gBxvXQNdYaQm1JOtCijhX36c5ei1rXqf/fD98G+LVJSnBuUkZ JYCCEDMnempzA2Maig1MLeedIKRQvGu+rCU9CbPk1L5hUDv61BJqtBv+kjG6Dsfu8BbL nusg== X-Gm-Message-State: APjAAAVwb0th14DVh5MD4EjrBrLEfc3D4qWDvsVs4tC0HcF1jBCZFKsH WxSmq8Sh2SnBkD9/+1R1fmOLZUEF X-Received: by 2002:a5d:63c9:: with SMTP id c9mr59005945wrw.15.1564060385843; Thu, 25 Jul 2019 06:13:05 -0700 (PDT) Received: from localhost.localdomain ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id z7sm47119735wrh.67.2019.07.25.06.13.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 25 Jul 2019 06:13:05 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Arnd Bergmann , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 3/5] davinci: fix sleep.S build error on ARMv4 Date: Thu, 25 Jul 2019 15:12:55 +0200 Message-Id: <20190725131257.6142-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190725131257.6142-1-brgl@bgdev.pl> References: <20190725131257.6142-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann When building a multiplatform kernel that includes armv4 support, the default target CPU does not support the blx instruction, which leads to a build failure: arch/arm/mach-davinci/sleep.S: Assembler messages: arch/arm/mach-davinci/sleep.S:56: Error: selected processor does not support `blx ip' in ARM mode Add a .arch statement in the sources to make this file build. Signed-off-by: Arnd Bergmann Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/sleep.S | 1 + 1 file changed, 1 insertion(+) -- 2.21.0 diff --git a/arch/arm/mach-davinci/sleep.S b/arch/arm/mach-davinci/sleep.S index 05d03f09ff54..50c180acc680 100644 --- a/arch/arm/mach-davinci/sleep.S +++ b/arch/arm/mach-davinci/sleep.S @@ -24,6 +24,7 @@ #define DEEPSLEEP_SLEEPENABLE_BIT BIT(31) .text + .arch armv5te /* * Move DaVinci into deep sleep state *