From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C880AC433F5 for ; Sun, 2 Jan 2022 06:00:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231192AbiABGAH (ORCPT ); Sun, 2 Jan 2022 01:00:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbiABGAH (ORCPT ); Sun, 2 Jan 2022 01:00:07 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0548AC06173E for ; Sat, 1 Jan 2022 22:00:07 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id x4so33472037ljc.6 for ; Sat, 01 Jan 2022 22:00:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Rjti7d90WP8Xg6Hp0kYEpjGAZMuupp9s0gpIcrJvVXQ=; b=L1tmfP4ShxzOgVIz2PEl+IiE+pc1ShqKkzJJ3FuYtfcWHhlrJjkBbrlzQHfZfIdCUM PXAkJt+SUZEoMSaVFBM3Nq06zF4p2yiOFu7CRXwL5CtCCJa1tzVSU5SW2HmWTE4Y0Vom MGbq/EvQRtsdpZ8mkfr+feE+xoqZk4AVLIt9U2HW06NUr1jOQ82yEcjRbpe9tprarXF4 BoDEEUZ/qPvEThxmwys0ZFwWAh4kYjvLJ43MsSpmPzAa+EoHrzVb7nspqlRkMVUpuW4d WSoB4RqbFdaXgtm3ufJy+Rjle+oc1q5LstR9kV6Jnr2vNbOE2iUpez/gxylWrX2HZOC0 lqMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Rjti7d90WP8Xg6Hp0kYEpjGAZMuupp9s0gpIcrJvVXQ=; b=xyzW/VoTHfi2AozrkENaZFkr/mWUYvdv4Sr3dv91f3Hz9R19RhO7uHg4xpg1M+kHVT ioyAoGYClRI+sDfPcjn1JegO9Mq81pJSjD0XY45bvND56VxFfOH0YHbuQS6OxOi9r6TV gZ3CynnANzxQB6QFtLVmXp+mL9C1K7cDEpIXi9FgwzOemaw8uQ8m4pOy0bhcV6RabNXH fmWoxBQbENpuzVUgtwr7wO4IxhBzcW5K616tkTfJ+J1hHLuMTZu1h0F7U446dWxNxbfj QJUtWBhJMNpMNxDNPtrl1fwEu4sObSNjr/NEgqh3wSLZAstMhVPwVxCWRY/3Qr7D+aAW XAQQ== X-Gm-Message-State: AOAM531ex1p9EAiA4Rawo+V0Fw2GhxcoS4vnxsQ3OlCMq59iU6/zuvpg cgmtIl4iYlk+e65NCxfqtla8rWSGpUjXysYQxD8U9w== X-Google-Smtp-Source: ABdhPJyv1Mvd6Mp+D18WKgLy8no0MQSmte5uMFeAHGA5tMcWXaralMbmZV5qMWOi9pa6EMdURgIDyO+USZ9oJ0EGv5k= X-Received: by 2002:a2e:b808:: with SMTP id u8mr24152647ljo.282.1641103205129; Sat, 01 Jan 2022 22:00:05 -0800 (PST) MIME-Version: 1.0 References: <20211226153624.162281-1-marcan@marcan.st> <20211226153624.162281-18-marcan@marcan.st> In-Reply-To: <20211226153624.162281-18-marcan@marcan.st> From: Linus Walleij Date: Sun, 2 Jan 2022 06:59:52 +0100 Message-ID: Subject: Re: [PATCH 17/34] brcmfmac: pcie: Provide a buffer of random bytes to the device To: Hector Martin Cc: Kalle Valo , "David S. Miller" , Jakub Kicinski , Rob Herring , "Rafael J. Wysocki" , Len Brown , Arend van Spriel , Franky Lin , Hante Meuleman , Chi-hsien Lin , Wright Feng , Chung-hsien Hsu , Sven Peter , Alyssa Rosenzweig , Mark Kettenis , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Pieter-Paul Giesberts , Hans de Goede , "John W. Linville" , "Daniel (Deognyoun) Kim" , "brian m. carlson" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Sun, Dec 26, 2021 at 4:38 PM Hector Martin wrote: > Newer Apple firmwares on chipsets without a hardware RNG require the > host to provide a buffer of 256 random bytes to the device on > initialization. This buffer is present immediately before NVRAM, > suffixed by a footer containing a magic number and the buffer length. > > This won't affect chips/firmwares that do not use this feature, so do it > unconditionally. > > Signed-off-by: Hector Martin Reviewed-by: Linus Walleij Yours, Linus Walleij