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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CE979C433EF for ; Wed, 2 Feb 2022 21:37:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WRB2cbIz/WeAybfhHlISUXaXHNLdTrsIB9DN8Nu9TBk=; b=qNQ5JS1GDkzhcY fD0U9a/zPnFKyb1sHtKuf3juwb0iLiEidKJOnrXEViAmX4BRHqEqbLjK5D0HP5eW5LvPJeupLXxRS mNha6MrwLWaRK9j8eHZckb+pJKUXCCjiLm4fFBd/sf08sdOdWVP8lfOPIcQHWbpuoMWlGQMFsWjyU DFdQitrcIwK5IBDtCPoFZ47tmhvKEJS1y6MZLj9so3YCh6CdNkT2H3oTMCBnoCCYWO/2T63n6pidx hthGhc00ACUG4h/I/MKI1BidBKgSPamTfuEkyRI7zmCkxcEE2/aCn/lrToq9x1uMtbUnlDX7Hit3K wSxDUBMmYENsd8iTC1BA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFNIb-00GvoV-Do; Wed, 02 Feb 2022 21:36:21 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFNIS-00GvlJ-3l for linux-arm-kernel@lists.infradead.org; Wed, 02 Feb 2022 21:36:18 +0000 Received: by mail-pj1-x102e.google.com with SMTP id p12-20020a17090a2d8c00b001b833dec394so918648pjd.0 for ; Wed, 02 Feb 2022 13:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=MOimAmoAOPfxgkWePJ3JiDN9ly5dvPP67ZR3jfbjMUg=; b=pPXBoTGgijMdCibrlpp1eVq5j5ImtRxSed0OIMHqKD0kxqkngejwYD73KVPYelfCvn m1L1SKABywGyAVt79zvVpuq+p72IlerPPyVF7RwAa6wFcEoHIE+W2fYn9aU8oECZriAt OsOKtVurQee7YXB6+sEzSZdSp8r5riWUbhSbFqlsICmFOzbn1ECQQg/jQlm7CMKCEtny fRxud5D8zeHtVWwh5GK23cr8Oq1ziPa/DCcU4dcjKI051E5uAh3WCs+6WRlxbRKU48ZN +RNuE7dD7arHpJWvY1Hqa1P+mBEMSakgHfZB7TDE5jT/PyheLoAtmg9ZEFdlwixhc7ba 6Bnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=MOimAmoAOPfxgkWePJ3JiDN9ly5dvPP67ZR3jfbjMUg=; b=jzQhzYuOsPkEoyproThLC2yV3ED82vetUuwS518J+bJzRvOeU5Xbx3rcUlp4aOCgr+ VrC9hs/W861rwV0eeH5ORfLl2V/VfMgBY4GSs0nEGq7uTZhGPW1/pO9SnwzwR1CvZu2X XoqmSn2X/MTKBmGx5TgVOjUYzT2sIReZeaN9T69bdQKoBITMTKbfEKN7KzvjrJuhPYzz p3s0MAmW9DwcBEq5pyNE0KRA4SiipRmc4smEdi5kU/smz+RX65nA0mZ1Dy9U8zfB+Ivp +WvvvmR9FrJggNSyHrI/oRK1PHYDriGBEqt64KsmnORsGMQevvbyeVN6t/V1uOGFgK5p TSzQ== X-Gm-Message-State: AOAM531012jNPI5UHSPQtUo39PN7Er/N4eXvbvzjhsCK/Dd+Ko3JONJD zrl9dH/SF34/sJELon9cQiuOk/6UlRjo7w== X-Google-Smtp-Source: ABdhPJwNQzY6gGbj9JTumO6K6dA0tSnzkaTG5kYM9FDLzT4mNpoEtVrvRYTPbs3JiDGQpTvlO9OSmQ== X-Received: by 2002:a17:90a:3e4a:: with SMTP id t10mr10312952pjm.70.1643837770937; Wed, 02 Feb 2022 13:36:10 -0800 (PST) Received: from x1 ([2601:1c2:1001:7090:9646:73e6:2457:2f0f]) by smtp.gmail.com with ESMTPSA id h11sm15405022pfe.214.2022.02.02.13.36.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 13:36:10 -0800 (PST) Date: Wed, 2 Feb 2022 13:36:34 -0800 From: Drew Fustini To: Suman Anna Cc: Tony Lindgren , Daniel Lezcano , Keerthy , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tero Kristo , khilman@baylibre.com Subject: Re: [PATCH] clocksource/drivers/timer-ti-dm: fix regression from errata i940 fix Message-ID: References: <20220202212554.1316032-1-dfustini@baylibre.com> <69b94cab-43fb-23a7-5819-66a37205bd23@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <69b94cab-43fb-23a7-5819-66a37205bd23@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220202_133612_212294_AD176B16 X-CRM114-Status: GOOD ( 14.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Feb 02, 2022 at 03:33:45PM -0600, Suman Anna wrote: > On 2/2/22 15:25, Drew Fustini wrote: > > The existing fix for errata i940 causes a conflict for IPU2 which is > > using timer 3 and 4. From arch/arm/boot/dts/dra7-ipu-dsp-common.dtsi: > > > > &ipu2 { > > mboxes = <&mailbox6 &mbox_ipu2_ipc3x>; > > ti,timers = <&timer3>; > > ti,watchdog-timers = <&timer4>, <&timer9>; > > }; > > > > I discovered the timer conflict from when booting mainline on a > > BeagleBoard X15 (AM5728): > > > > remoteproc remoteproc1: 55020000.ipu is available > > remoteproc remoteproc1: powering up 55020000.ipu > > remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4 > > omap-rproc 55020000.ipu: could not get timer platform device > > omap-rproc 55020000.ipu: omap_rproc_enable_timers failed: -19 > > remoteproc remoteproc1: can't start rproc 55020000.ipu: -19 > > > > I modified the errata fix to use timer 15 and 16 instead which resolves > > the timer conflict. > > > > Fixes: 25de4ce5ed02 ("clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940") > > Link: https://lore.kernel.org/linux-omap/YfWsG0p6to3IJuvE@x1/ > > Suggested-by: Suman Anna Yes, thank you for adding. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel