From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x224A12ynfg4xqK40f9pjsrWTf4M18Xtt/oeYf7Tpg9w/SJOs7iTAFlU+3+6aA9+c6LixC/Ws ARC-Seal: i=1; a=rsa-sha256; t=1517105999; cv=none; d=google.com; s=arc-20160816; b=zzTLZcihxhZ3OwOJUNgx2HjsFSIqrpPI+cVDkhmlR6Cd5DR/v75tVAIrBvAdzPKm79 XJ4i+fE5GCuXAkwFHR3hrPaVT8RpUw8b9dpiUMWQn0s8vdYeubOXBAnVpN7hr2ehVBZE Wji0EcY8UJeSMS0fNEpi3AioxoFLwU5K9morXWyfE5GJKnN84wPbAW897qQBO4+aBnWj pH+L+yUVu/wfTBzUlCvUC6EAocBVapCV+FqeIjQWIuGWj9+MvC5yRwcb4ELy9moQ89vG yUkc+nHHOuTybUsJ6EqCe2ahkgF0lqnYIP9KdboUzCTfzE8i33UlIHcvGDrVsjivtZW8 OQlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=Xo8TS2P0EdYyGaE+NDbArvuiEtrg9Q3ZrCJXKRxDuTg=; b=Hzd07ddShTMefyjBL/VAGURTFkb8ud2lCKw++2//aLuPOIu9NSiCSylL2BUu58qovd aMoHu3aAza3kqn0c5rRSVXDtnrb2wSqlViqJ0eN8ddcRlvQqkKm+hh7XNnH4XyZHbfQ7 Yf6kb+hrtrGxn6gnckhhPP3lisg6EAPYxJyLC5AepIrnvxumZMalXVX7DHyr8mk0Zq7a ictuV949lPiMJktCMGaoQDkPOYCCIvwM/QKBiqUtrNeBnOW6d4jhEaH4rx3ngJ8xxa1n SK0ex5JzH8jSl8VQJUfaggbU1VNJzPAPXbIBzHAWxftMcql5lBVtJakkHOq/B8HGgize dy9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=temperror (google.com: error in processing during lookup of yong.deng@magewell.com: DNS error) smtp.mailfrom=yong.deng@magewell.com Authentication-Results: mx.google.com; spf=temperror (google.com: error in processing during lookup of yong.deng@magewell.com: DNS error) smtp.mailfrom=yong.deng@magewell.com X-Alimail-AntiSpam: AC=CONTINUE;BC=0.09423679|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03312;MF=yong.deng@magewell.com;NM=1;PH=DS;RN=27;RT=27;SR=0;TI=SMTPD_---.AZvjgVb_1517105965; Date: Sun, 28 Jan 2018 10:19:03 +0800 From: Yong To: maxime.ripard@free-electrons.com Cc: kbuild test robot , kbuild-all@01.org, Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Chen-Yu Tsai , "David S. Miller" , Greg Kroah-Hartman , Hans Verkuil , Linus Walleij , Randy Dunlap , Stanimir Varbanov , Hugues Fruchet , Yannick Fertre , Philipp Zabel , Arnd Bergmann , Benjamin Gaignard , Ramesh Shanmugasundaram , Sakari Ailus , Rick Chang , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, megous@megous.com Subject: Re: [linux-sunxi] Re: [PATCH v6 2/2] media: V3s: Add support for Allwinner CSI. Message-Id: <20180128101903.fbaec083c787bda30aeb05ef@magewell.com> In-Reply-To: <20180126081000.hy7g57zp5dv6ug2g@flea.lan> References: <1516695531-23349-1-git-send-email-yong.deng@magewell.com> <201801260759.RyNhDZz4%fengguang.wu@intel.com> <20180126094658.aa70ed3f890464f6051e21e4@magewell.com> <20180126110041.f89848325b9ecfb07df387ca@magewell.com> <20180126081000.hy7g57zp5dv6ug2g@flea.lan> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590370608168306586?= X-GMAIL-MSGID: =?utf-8?q?1590800934596914863?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: Hi Maxime, On Fri, 26 Jan 2018 09:10:00 +0100 Maxime Ripard wrote: > On Fri, Jan 26, 2018 at 11:00:41AM +0800, Yong wrote: > > Hi Maxime, > > > > On Fri, 26 Jan 2018 09:46:58 +0800 > > Yong wrote: > > > > > Hi Maxime, > > > > > > Do you have any experience in solving this problem? > > > It seems the PHYS_OFFSET maybe undeclared when the ARCH is not arm. > > > > Got it. > > Should I add 'depends on ARM' in Kconfig? > > Yes, or even better a depends on MACH_SUNXI :) Do you mean ARCH_SUNXI? ARCH_SUNXI is alreay there. In the early version, my Kconfig is like this: depends on ARCH_SUNXI But Hans suggest me to change this to: depends on ARCH_SUNXI || COMPILE_TEST to allow this driver to be compiled on e.g. Intel for compile testing. Should we get rid of COMPILE_TEST? Yong