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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2535BC433EF for ; Thu, 23 Jun 2022 15:28:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7479183AC6; Thu, 23 Jun 2022 17:28:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="AsAN2NzM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7482D83AC6; Thu, 23 Jun 2022 17:27:58 +0200 (CEST) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1451D80085 for ; Thu, 23 Jun 2022 17:27:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x731.google.com with SMTP id u124so1016375qkb.12 for ; Thu, 23 Jun 2022 08:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=UCRcGWkI+053VQ8AtqwEEtdLbl3T354yjHhm2sex3eY=; b=AsAN2NzMFJ5FeD1AZWfpwqBDFhzA3s0e006LHA0+1k4+NDXvoevBRjgxHC5hJoAzOs Q9g/yzZ0C0bUMpBfMbGbJRKvOSEyRKeBZ1nnhL4gWdrJ7tQH03AZj/qVvRItH5zwhFOr IkzECnNAZNx090OPOEJWa0eQ4+wQaoMUmZiWs= 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=UCRcGWkI+053VQ8AtqwEEtdLbl3T354yjHhm2sex3eY=; b=D7i0Zk24TOYVPb7yy27Z44KKP2LTnqUmdjszEwpWtG467QLAFscNJ6dpS7fCtl/LmE aPW3ghcK4B4vtMtpt44vMY2lHUHOhhnU//2sLxKTq8QEaw4pwoYFETU3l2HpMc5sAUhn i+vv5nEeQ3Ev4M+Uvp6xsE6zc80oM2xJWRmdMijUD5/Lgpidd1hVj4EP1t/OTq1LgN7p tbJP1Mqexzutl3BGUYpye7siPK0TxOsCaLnALZbj6Mov9EFsrpwWheX0STN5K1O9MWha /0DBG4kEQJykDI+TuQ46J7Esp68p7vLm/l1UDZt/nAF+50sCL+AHVnEfpY3wUgcGED0y NbaQ== X-Gm-Message-State: AJIora9nrnQ3GTzF/OWcsv01ch2d1ZDUvC994PtDtYz17i+K/VB1rkig 9JauOxgxAJeLLfHdM+3sv/Wpjg== X-Google-Smtp-Source: AGRyM1thiYXjMzycp4g9q0lp9FQk1DdOUgT6sTwGOOgOeltpH5RGCeOVurh3Cq0VCdy8KpUtq8lylQ== X-Received: by 2002:a05:620a:4714:b0:6a7:2f11:d04f with SMTP id bs20-20020a05620a471400b006a72f11d04fmr7003432qkb.688.1655998074728; Thu, 23 Jun 2022 08:27:54 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id s3-20020a05620a29c300b006a79aa0c8b1sm20559228qkp.113.2022.06.23.08.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 08:27:53 -0700 (PDT) Date: Thu, 23 Jun 2022 11:27:52 -0400 From: Tom Rini To: Janne Grunau Cc: u-boot@lists.denx.de, Bin Meng , Mark Kettenis , Simon Glass Subject: Re: [PATCH v2 1/3] arm: apple: nvme: Add SART support and RTKit buffer management Message-ID: <20220623152752.GC2484912@bill-the-cat> References: <20220614070909.8458-1-j@jannau.net> <20220614070909.8458-2-j@jannau.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WnywVs0lMdNvriUK" Content-Disposition: inline In-Reply-To: <20220614070909.8458-2-j@jannau.net> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --WnywVs0lMdNvriUK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2022 at 09:09:07AM +0200, Janne Grunau wrote: > The NVMe firmware in the macOS 13 beta blocks or crashes with u-boot's > current minimal RTKit implementation. It does not provide buffers for > the firmware's buffer requests. The ANS2 firmware included in macOS 11 > and 12 tolerates this. The firmware included in the first macOS 13 beta > requires buffers for the crashlog and ioreport endpoints to function. >=20 > In the case of the NVMe the buffers are physical memory. Access to > physical memory is guarded by what Apple calls SART. > Import m1n1's SART driver (exclusively used for the NVMe controller). > Implement buffer management helpers for RTKit. These are generic since > other devices (none in u-boot so far) require different handling. >=20 > Signed-off-by: Janne Grunau > Reviewed-by: Mark Kettenis > Tested-by: Mark Kettenis Applied to u-boot/master, thanks! --=20 Tom --WnywVs0lMdNvriUK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmK0hnQACgkQFHw5/5Y0 tyzs0gv9HXg2iDO7e8mzynF9TcX7mrIaq+xM6413CHNURJ8J++22ecJAj89/dvv0 l4X5tV4Td+pvXIwlvsvDSu6XptiQzi5ib45YEUKElajgjUz76ZsdltdfNjvWw85V DHyp0JosDadgV/3+QO7qCOQ/HdZNVrFTVzc1Hw6VVh34EOoonFWTWxO+MAIR7AGb ls1NW/zBu7gRw8ne8Hbfu53H8/d30vASoTnZxwoiSfp8LC+/hKK1ZH4e+j6U/PP1 5IJL2JCUg9YyAlfvA+JvzddEQCUKP0nC/5PimQ5JmXttJgwhE8LXjTZVVJbH4Rjt ymk0sJLK3cfkd1227wy/9zRf3dhuGWv27dEenH+SSz5BP2MPoUIqNbKZKRC5E5Pq 1ehlLuITjsCvequ63ffgpBi4k8fyvqmUuMJkUpoJMCIzHgBy31BFFt2jjBo/o9G1 9UGoFRe+jXsfogB6GRCFRIePpE4bKrlAfjwxMYwowpDRkuTnS0qsvpIlCQ1ZgMMK KGI7RApl =X41T -----END PGP SIGNATURE----- --WnywVs0lMdNvriUK--