From owner-freebsd-arm@freebsd.org Fri Mar 17 02:48:51 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0361D0FB9A for ; Fri, 17 Mar 2017 02:48:51 +0000 (UTC) (envelope-from john@feith.com) Received: from feith1.FEITH.COM (feith1.FEITH.COM [192.251.93.1]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D41716EE for ; Fri, 17 Mar 2017 02:48:51 +0000 (UTC) (envelope-from john@feith.com) Received: from jwlab.FEITH.COM (jwlab.FEITH.COM [192.251.93.16]) by feith1.FEITH.COM (8.15.1+Sun/8.12.9) with ESMTP id v2H2iepi000049; Thu, 16 Mar 2017 22:44:40 -0400 (EDT) (envelope-from john@jwlab.FEITH.COM) Received: from jwlab.FEITH.COM (localhost [127.0.0.1]) by jwlab.FEITH.COM (8.15.1+Sun/8.15.1) with ESMTP id v2H2ieQq013801; Thu, 16 Mar 2017 22:44:40 -0400 (EDT) Received: (from john@localhost) by jwlab.FEITH.COM (8.15.1+Sun/8.15.1/Submit) id v2H2ibXc013800; Thu, 16 Mar 2017 22:44:37 -0400 (EDT) Date: Thu, 16 Mar 2017 22:44:37 -0400 (EDT) From: John Wehle Message-Id: <201703170244.v2H2ibXc013800@jwlab.FEITH.COM> To: ganbold@gmail.com Subject: Re: Making INTRNG a requirement on armv6 Cc: andrew@fubar.geek.nz, freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-DCC-x.dcc-servers-Metrics: feith1; whitelist X-Scanned-By: MIMEDefang 2.67 on 192.251.93.1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2017 02:48:51 -0000 > As for Amlogic ones, iirc, John did some tests on his devices with INTRNG > in December last year. The primary issue is regarding the older interrupt controller used on the aml8726-m3 and also present on the aml8726-m6. I did the original porting work using the aml8726-m6 with the older interrupt controller which seemed to work fine ... there didn't seem to be any interrupts being lost. It was only towards the end of the porting work that I switched the aml8726-m6 (which happens to have both the older controller and a GIC) to using the GIC. Back in December 2016 the aml8726-m6 (and -m8b) passed a smoke test using INTRNG with the GIC. Disabling INTRNG caused the aml8726-m3 and the aml8726-m6 (configured for the older interrupt controller) to "lose" clock interrupts. I did at that time see about updating the older Amlogic interrupt code to use INTRNG which was a pretty straight forward effort, though even with the updated code the older interrupt controller still suffered from "lost" clock interrupts. Unfortunately my attentions (as is probably evident) have been elsewhere so the "lost" clock interrupts issue is unresolved. I can see about providing the INTRNG version of the older Amlogic interrupt driver it that helps, however I'm probably not finding time to debug the "lost" clock interrupts issue anytime soon. -- John ------------------------------------------------------------------------- | Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com | | John Wehle | Fax: 1-215-540-5495 | | -------------------------------------------------------------------------