From owner-freebsd-arm@freebsd.org Sun Aug 12 00:18:39 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E91831057700 for ; Sun, 12 Aug 2018 00:18:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F73A96CB4 for ; Sun, 12 Aug 2018 00:18:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x234.google.com with SMTP id s7-v6so7768168itb.4 for ; Sat, 11 Aug 2018 17:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=9TlPHFXHOzJgjN1kcE6VwwJ8RwxzXn4B0zmFQb175gg=; b=2FPTV/QEJYhF9KUd1dJj+uayvQ6dIMCk7hDx5iyQkehZdTTkLOvkygXlb/s7zoKaJt 3KRlA9s6ncPOqtAnj2gEmnGsEIxygw+UZJmHJO/q7HdKETJRfFu4f9bpUEH68FFK+YBY EdqJg9SFnSwpkqpqU1ZrxXITmLxGRACCrreKMq6mxIV7YNFOkgMZtQzYFuF2P7v7JMV4 swTsT0n/6x10wEsLtLo34xyVx+HH6d9AXxfycdWs48XhupyfhpaRj9t5fEqhUWDcpV17 dMpywVho7XXKFM6Y0yyQU8mnazSJz5vLR+9tH2FAZfI4D0x8icWYTNAbcXP8CXyjHZSF sOMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=9TlPHFXHOzJgjN1kcE6VwwJ8RwxzXn4B0zmFQb175gg=; b=Z8mxlShpNp3efsj/4HIozihHQbqW8Nf5iM7b8QLXH+5bMpLOIcQA/RLa8ofJnnQZkR 1YH8Pmp19UO8PvB0q6XaBFZuBGqbH3F7D4yI/DREXjLeAEesKij8vXYLWPQ7O7otlkAk NbdnEzrpRKFfrMm5Teg9Y0xgbz6GRIVRivhwUnaayV53iYX9Fh1bOrzEObjtD3RZSyO+ 2cVJtka2miezLOKPt9zDv7FYYA3cXlUx07EfXSQDMRBjdlIluOl0Bo93vdkoM57JV/iT DYL70KbUtmWeoLI9QUaGdBCycydKGeEkBYz8bGdSrzC+7CyoiTBIl7YZvcM2/pikaFvi 3TuQ== X-Gm-Message-State: AOUpUlGfeu+uo4Rncyo1t/S2SF99G2DHYXyxOjeJYHFUaqr2TFbdiia7 Er1rdJsYHhIipNA3D9RrMDRpOe2KfL52oqCnpE2s17e5kBM= X-Google-Smtp-Source: AA+uWPxWAFSLoNS6QKxWd96lJzdFfAsUcMuZkotBvh4K/6IPGR78fUDw4aU6l4Q0NY5u3fd/e33mfDZLgXnYZZYiFII= X-Received: by 2002:a24:4f52:: with SMTP id c79-v6mr6698472itb.36.1534033117739; Sat, 11 Aug 2018 17:18:37 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:381a:0:0:0:0:0 with HTTP; Sat, 11 Aug 2018 17:18:37 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: <1534007513.31375.9.camel@freebsd.org> From: Warner Losh Date: Sat, 11 Aug 2018 18:18:37 -0600 X-Google-Sender-Auth: -SbSKVgjZgjsMcobkTXargyV298 Message-ID: Subject: Re: Kill old, non-INTRNG code on ARM To: Ian Lepore Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2018 00:18:39 -0000 On Sat, Aug 11, 2018 at 11:40 AM, Warner Losh wrote: > > > On Sat, Aug 11, 2018, 11:11 AM Ian Lepore wrote: > >> On Sat, 2018-08-11 at 08:52 -0600, Warner Losh wrote: >> > One last thing, even though we're in a slush, is to kill the pre- >> > INTRNG >> > code. >> > >> > It's required for armv6 and v7 for some time (only the Amlogic 8726 >> > boards >> > remain broken there). And we're down to two families of chips which >> > support >> > armv5: rt1310 and the Marvel gear. Both of them support INTRNG. >> > >> > I propose we eliminate the INTRNG option and unifdef the code to >> > remove the >> > undefined case. >> > >> > Comments? >> > >> >> Wait a sec, the INTRNG option can't go away, it's used by multiple >> arches these days. What we can do is make it on-by-default for arm* >> arches, and eliminate any #if[n]def INTRNG in arm-specific code. >> > > Yes. That's a better way of saying what I had in mind. GC the code that > will never compile on arm so we don't have to support it on 12. Or rather > trip over it... > OK. I misread things. Marvell still isn't converted to INTRNG. I have a more modest patch that moves things around a little in the config files to help... Warner