Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4019082ybi; Mon, 27 May 2019 09:32:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQb2WX4FiWxMSm6jfAdjOcEjvgBE7Rf4BflT0HF1/krptQ0s32KTbV6hLv2TOUtljDwP/8 X-Received: by 2002:a17:902:9f8b:: with SMTP id g11mr122687953plq.199.1558974759840; Mon, 27 May 2019 09:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558974759; cv=none; d=google.com; s=arc-20160816; b=05qIn8BW/OvUjtM8FCPOy7Rupsk0FdGNqj0/vWJzGFDxiiKG8gXhPslq6EEK2J4geH 2QyGmA6WyC4x1U7+it5Tb0CQVjT3cVKYKFfTpViM29yhVe8I1pArSULABTp80Hhj5sFd B3HAuKQWPCmzDHSwxTsWK1SdSZ32kZV+reDNgRkxy3/c2KBube6I0pESPO4Xr98c5f9m 9Uaz80UxWs09xN1IoO6C1TVoqjglKIe6bg+nAXhq34XXbP+8qELMLHgKRLA2UpCfnxh2 hvLKjz1GKqyvScxZLVnBNAwi0jG9Ok59ZWOodPfnL+cDR7VLRgZar7npmCf4BOEPiwnt Ozlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=l8gnq11MfENr8LlwZMJOMINl/vlFY5F8FcYPpFM7eDs=; b=pj+BkF+o6YIk/YpA8BkAvlasneDE6DCCmpsZE35SBV/9ShiipkghIzrx3su1m4OAN1 gPvqGf3IvN4h/cOCI/DYqtHwe4IoKTqLEOpgGufITbu9JoQ4aKD7CokU07uhpYs77Gbn 5eGUtwnmhTafcfeMw6VLeOudsMS+IJ5g9xscEaAFdSFmrZQxTKdGqcjZBeWwqx7cO3gU W1FZlHLiWsONm/TwhkzZc2FjzGCmxP1VdQHQPQb1IfHvL0FDc+xr9bJsCGPzv81lHoP6 8Vd4VT1CCloa+HePmAMNV2MTQSdK82zm/nHfigOP20hMwD8vCOJxD4wa/JoQFrENdlPt OEsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=rfFINPjD; 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=REJECT sp=REJECT dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si18045283pld.265.2019.05.27.09.32.23; Mon, 27 May 2019 09:32:39 -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=@megous.com header.s=mail header.b=rfFINPjD; 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=REJECT sp=REJECT dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726757AbfE0QbT (ORCPT + 99 others); Mon, 27 May 2019 12:31:19 -0400 Received: from vps.xff.cz ([195.181.215.36]:52890 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726202AbfE0QbT (ORCPT ); Mon, 27 May 2019 12:31:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1558974677; bh=PgG31BRZ0YboCN4Hjpat6/cxg5AdW/qGtpZnBWBtY8c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rfFINPjD4GpDg6ug+toV5iJGRG5ZFC22j1ugplppTFWWHoqEYtiBYbA7PepDyAGs+ 3ih1FK3vG6O0TrOGjzm9o9fbos7bq2GrwOLxRO0h+hRgT0iM9CssI/BYu+ZHMYc9Yv J9Lmvp+PCdRyTuFpE17Vx78TMSxhqAEpvboSkt/c= Date: Mon, 27 May 2019 18:31:17 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , devicetree , linux-kernel , linux-sunxi , linux-arm-kernel , linux-media@vger.kernel.org Subject: Re: [PATCH v2 00/10] Allwinner A64/H6 IR support Message-ID: <20190527163117.hpealt6cttqzqdxz@core.my.home> Mail-Followup-To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , devicetree , linux-kernel , linux-sunxi , linux-arm-kernel , linux-media@vger.kernel.org References: <20190526222536.10917-1-peron.clem@gmail.com> <20190527134805.j7t4ffstrnhdml47@core.my.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Clément, On Mon, May 27, 2019 at 04:59:35PM +0200, Clément Péron wrote: > Hi Ondřej, > > On Mon, 27 May 2019 at 15:48, Ondřej Jirman wrote: > > > > Hi Clément, > > > > On Mon, May 27, 2019 at 12:25:26AM +0200, Clément Péron wrote: > > > Hi, > > > > > > A64 IR support series[1] pointed out that an A31 bindings should be > > > introduced. > > > > > > This series introduce the A31 compatible bindings, then switch it on > > > the already existing board. > > > > > > Finally introduce A64 and H6 support. > > > > Does H6 support actually work? I don't see any driver changes and last time > > I tried with the exact same bindings, I got RCU stalls shortly after boot. > > Actually, I have tested only on H6 on my Beelink GS1 with a "NEC" remote. > > I have manually toggle the protocols and do a simple cat in /dev/input/event0 > # echo nec > /sys/class/rc/rc0/protocols > # cat /dev/input/event0 | hexdump > 0000000 0093 0000 0000 0000 8bfb 0009 0000 0000 > 0000010 0004 0004 8028 0000 0093 0000 0000 0000 > 0000020 8bfb 0009 0000 0000 0000 0000 0000 0000 > 0000030 0093 0000 0000 0000 55be 000a 0000 0000 > 0000040 0004 0004 8028 0000 0093 0000 0000 0000 > 0000050 55be 000a 0000 0000 0000 0000 0000 0000 > 0000060 0093 0000 0000 0000 fa42 000d 0000 0000 > 0000070 0004 0004 8028 0000 0093 0000 0000 0000 > 0000080 fa42 000d 0000 0000 0000 0000 0000 0000 > 0000090 0093 0000 0000 0000 c41a 000e 0000 0000 > 00000a0 0004 0004 8028 0000 0093 0000 0000 0000 > 00000b0 c41a 000e 0000 0000 0000 0000 0000 0000 > > > Which kernel did you test with? Do you have any log? I tested with my kernel (https://megous.com/git/linux/log/?h=opi3-5.2). I also tried with 5.1 and the same kernel build on H5, to exclude some early 5.2-rc bugs and to see if this is H6 specific. I'll try testing again with your patches, and get you some logs. But last time they were not very informative. regards, o. > Thanks, > Clément > > > > > Enabling/disabling ir node was enough to trigger/stop the RCU stalls on H6. > > > > regards, > > o. > > > > > Regards, > > > Clément > > > > > > [1] https://lore.kernel.org/patchwork/patch/1031390/#1221464 > > > > > > Changes since v1: > > > - Document reset lines as required since A31 > > > - Explain the memory mapping difference in commit log > > > - Fix misspelling "Allwiner" to "Allwinner" > > > > > > Clément Péron (8): > > > dt-bindings: media: sunxi-ir: add A31 compatible > > > media: rc: sunxi: Add A31 compatible > > > ARM: dts: sunxi: prefer A31 instead of A13 for ir > > > dt-bindings: media: sunxi-ir: Add A64 compatible > > > dt-bindings: media: sunxi-ir: Add H6 compatible > > > arm64: dts: allwinner: h6: Add IR receiver node > > > arm64: dts: allwinner: h6: Enable IR on H6 boards > > > arm64: defconfig: enable IR SUNXI option > > > > > > Igors Makejevs (1): > > > arm64: dts: allwinner: a64: Add IR node > > > > > > Jernej Skrabec (1): > > > arm64: dts: allwinner: a64: Enable IR on Orange Pi Win > > > > > > .../devicetree/bindings/media/sunxi-ir.txt | 11 +++++++++-- > > > arch/arm/boot/dts/sun6i-a31.dtsi | 2 +- > > > arch/arm/boot/dts/sun8i-a83t.dtsi | 2 +- > > > arch/arm/boot/dts/sun9i-a80.dtsi | 2 +- > > > arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 +- > > > .../dts/allwinner/sun50i-a64-orangepi-win.dts | 4 ++++ > > > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 18 ++++++++++++++++++ > > > .../dts/allwinner/sun50i-h6-beelink-gs1.dts | 4 ++++ > > > .../dts/allwinner/sun50i-h6-orangepi.dtsi | 4 ++++ > > > .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 4 ++++ > > > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 19 +++++++++++++++++++ > > > arch/arm64/configs/defconfig | 1 + > > > drivers/media/rc/sunxi-cir.c | 1 + > > > 13 files changed, 68 insertions(+), 6 deletions(-) > > > > > > -- > > > 2.20.1 > > > > > > > > > _______________________________________________ > > > linux-arm-kernel mailing list > > > linux-arm-kernel@lists.infradead.org > > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel