From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CBFDC3A59B for ; Sat, 17 Aug 2019 09:01:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5D08E2077C for ; Sat, 17 Aug 2019 09:01:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=goldelico.com header.i=@goldelico.com header.b="Pnf/FduW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726189AbfHQJB4 (ORCPT ); Sat, 17 Aug 2019 05:01:56 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.165]:16613 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbfHQJB4 (ORCPT ); Sat, 17 Aug 2019 05:01:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1566032513; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=rlNb5vbPE+efC24LfjOSE04VLWb4QNI8n0qETVngfdM=; b=Pnf/FduW3jA3ZUVDg8c+L2x6M84x2PA56SpIBCE8APAC8joTcrrBtiZAEV9znFc7DM eItR2eA7/y8hwnqWvHLRlmg74c8nhsr52w6JmVCOMNRvTusPYRCtpHBeO9e3tLsNT+JZ ty/9rXwcLo2BNroko5u9mwrhBc0ML+pV4Qycj2ziLsIpJ10sriZzeF61SpNQG4f+3Hpl 2aqZdKAcrNlUpdPc/rkOC8Sx9DwTsg77IJMwdgKQYfmflRZ46IgaqcPIrMAtvjozXnKz FNTQuU2TNP8Gm3TWUeKEWmxrIeV2VN4bMBjxhVdZ1t/yHgpyYyk9cnEuG35tk2eKaZUR LtgA== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBi5wp38sDGQBQKV9qb" X-RZG-CLASS-ID: mo00 Received: from [192.168.2.7] by smtp.strato.de (RZmta 44.26.1 DYNA|AUTH) with ESMTPSA id V074e8v7H91gJcq (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sat, 17 Aug 2019 11:01:42 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5 From: "H. Nikolaus Schaller" In-Reply-To: Date: Sat, 17 Aug 2019 11:01:45 +0200 Cc: Tony Lindgren , Merlijn Wajer , =?utf-8?Q?Pawe=C5=82_Chmiel?= , Philipp Rossak , moaz korena , Ivaylo Dimitrov , =?utf-8?Q?Filip_Matijevi=C4=87?= , Tomi Valkeinen , linux-omap , kernel@pyra-handheld.com, Discussions about the Letux Kernel , maemo-leste@lists.dyne.org, Linux Kernel Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <2ACE0AFF-D929-47AB-BAA9-973DA5DB3A1C@goldelico.com> References: <8A069D96-C65F-43F5-8F54-20019CFB1A8D@goldelico.com> <3A03FF16-C203-43ED-AEEF-0260F6B3331A@goldelico.com> <3b0a5e78-c4c2-1963-bac7-b49496a1e9b9@wizzup.org> <1F942AAB-1648-46C0-ADD5-90F6898778BE@goldelico.com> <84cac9b8-0eff-33f8-464d-4f8045d7db19@wizzup.org> <20190814094755.GC52127@atomide.com> <6A6394A6-9D50-4E43-A8E4-716888897AD6@goldelico.com> <20190814131607.GD52127@atomide.com> To: Adam Ford X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adam, > Am 17.08.2019 um 01:01 schrieb Adam Ford : >=20 >=20 > Nikolaus, >=20 > I tested Tony's change and I can confirm that I can read the value > when enabled. Should I apply his patches to your branch before I > test, or is it go too to go as-is? My branch is currently as-is and not aware of Tony's patches and based = on v5.3-rc3. I think I will have to remove some glue code which tries to do the = platform reset and enables clocks and replace by pm_runtime_get_sync() before it = fits together. Then we can likely remove the omap-pvr-soc-glue branch at = least partially and/or replace by Tony's patches before they arrive in = mainline. The current status of my branch is that it works on OMAP5/Pyra but a quick test on BeagleBone or GTA04 did show some reset/clock errors and it did not more than creating /proc/pvr. pvrsrvctl --start did fail. Which means that the omap-pvr-soc-glue patches are currently broken with 5.3-rc3 anyways... I'll look at it as soon as possible. > I've got an AM3517, OMAP35 and a > DM3730. I am not sure if the AM3517 is even on the radar, but it has > an sgx530 as well. Good to know and keep in mind. BR, Nikolaus