From owner-freebsd-arch@freebsd.org Thu Jul 12 19:24:02 2018 Return-Path: Delivered-To: freebsd-arch@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 D8255103A30D for ; Thu, 12 Jul 2018 19:24:02 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 906A47B27B; Thu, 12 Jul 2018 19:24:02 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 9256810B45D; Thu, 12 Jul 2018 15:24:01 -0400 (EDT) Subject: Re: early x86 microcode loading To: Mark Johnston , freebsd-arch@freebsd.org References: <20180712183116.GB15892@raichu> From: John Baldwin Message-ID: <6a83fad1-7616-eea5-d86b-83db693a9c73@FreeBSD.org> Date: Thu, 12 Jul 2018 12:24:00 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180712183116.GB15892@raichu> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Thu, 12 Jul 2018 15:24:01 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 19:24:03 -0000 On 7/12/18 11:31 AM, Mark Johnston wrote: > I'm interested in any feedback on the above, and especially any > suggestions on how this feature should be integrated with the > devcpu-data port. Thanks in advance. In general this sounds good to me. I'm not quite sure how to manage setting the lines in loader.conf. Using 'service foo start/stop' seems to be a bit of an abuse of what service is used for as opposed to just including a standalone script in the devcpu-data port with a suitable pkg-message. sysrc seems to be a closer analog than service in theory, but shoehorning this into sysrc would seem to be quite ugly and doesn't seem like a good idea to me either. -- John Baldwin