From owner-svn-src-head@freebsd.org Thu Dec 3 18:40:59 2015 Return-Path: Delivered-To: svn-src-head@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 254C8A40D12 for ; Thu, 3 Dec 2015 18:40:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA8241F98 for ; Thu, 3 Dec 2015 18:40:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by qkao63 with SMTP id o63so33759130qka.2 for ; Thu, 03 Dec 2015 10:40:57 -0800 (PST) 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:date:message-id:subject :from:to:cc:content-type; bh=0lNUy0mUjUNycMASxYZglzkfmfRc9xDCwC0IZeU5ydc=; b=01AQ9iYyf9T9V8OYTKyCVpmkilK50yg/i1rROesVF119nXt5BbhbbR5dMLjUJiDeOq llx+KIYu9X82D+x3eGRwT4+Vq/PJyWdB/NN809w7SltZ7hpCHxClYrbd0iapKPtyfSke rKSo4laMl4/cz583UPHwj4j7nJByRcB8fcNPCemTwiIvHtGO9w3Lj2pORUcbTOvAVW4E XjBuDufqdDIXrJN/SKA5bjShDqUbhnDS7cGaFk7H1ByklDWbI8sA7gARWZK8zcEaRnMA jb9g9/rcxvPf7yOo41Kvwo31dup3A3DbazUf0koO4PFDwr7DgrBi9DmFUCaNWgUVcnqo 8hTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=0lNUy0mUjUNycMASxYZglzkfmfRc9xDCwC0IZeU5ydc=; b=GkgVPNMsLeGP2CJ5r6VxbGntqsgxZz/Et1u3MJXzGrXSJk/u2UQJge7koXR2nx+DWi pPYY6kPL3ATRU5TN0RMbIJ7Fzycjpk1La7yavsuRV0BQaB/YNI7WWXC5sdMz7ASVxbpM s9G/P4Rxe+BtN5b3xFOUvIQYSrGsHs/Fcny03TYIHPG5F68aPVxvww6YxD1+0sBdAYDQ 3YQMYihKUQtQcY7KuTilByWfgbM4LDZytEBGN/PQRdERom6FJ/KJ0yHMbsSEcw/J8kzu 5nW95JMcN6xYDYoqUv+R6jOIXc4x1f5eZZIf7oHsx5pMRH7asgzHfc+OjijSLxKmsoYf G88A== X-Gm-Message-State: ALoCoQlGuGAr5hdpuKSuYZBwruV2OGEDfxFDg7RsUzMa1ZaxridZ3XvTsxB053YFL59dsfHdZI1i MIME-Version: 1.0 X-Received: by 10.55.207.73 with SMTP id e70mr4763824qkj.77.1449168057538; Thu, 03 Dec 2015 10:40:57 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.27.181 with HTTP; Thu, 3 Dec 2015 10:40:57 -0800 (PST) X-Originating-IP: [192.55.54.58] In-Reply-To: <201512031124.tB3BOBRu070023@repo.freebsd.org> References: <201512031124.tB3BOBRu070023@repo.freebsd.org> Date: Thu, 3 Dec 2015 11:40:57 -0700 X-Google-Sender-Auth: VmhlqF9k4M7rDX0DEbi2mca-SDI Message-ID: Subject: Re: svn commit: r291689 - in head/sys: conf dev/ahci From: Warner Losh To: Andrew Turner Cc: src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 18:40:59 -0000 On Thu, Dec 3, 2015 at 4:24 AM, Andrew Turner wrote: > Author: andrew > Date: Thu Dec 3 11:24:11 2015 > New Revision: 291689 > URL: https://svnweb.freebsd.org/changeset/base/291689 > > Log: > Add support for a generic AHCI attachment. This allows us to attach to a > typically memory mapped bus, for example on the AMD Opteron A1100 the > AHCI > device is mapped in the CPUs address space, and not through a PCI > controller. > > Further work is needed for this to work with ACPI as this is expected to > be > common on ARMv8 servers. > We've created a few front ends for a10 and imx6 already. These require special handling of the environment to setup things properly based on implementation specific registers, clocks, gpios, etc. In the arm64 world, is it anticipated that we won't need to do those things? Would it be better to name this ahci_acpi.c instead then? I'd exepect with an acpi attachment, there'd be some ACPI-specific things needed. Warner