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 X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D664C433F5 for ; Thu, 23 Sep 2021 10:06:18 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 926BC61279 for ; Thu, 23 Sep 2021 10:06:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 926BC61279 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=vivier.eu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:58030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTLcO-0001DD-On for qemu-devel@archiver.kernel.org; Thu, 23 Sep 2021 06:06:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTLbA-0000RJ-1y for qemu-devel@nongnu.org; Thu, 23 Sep 2021 06:05:00 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:57539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTLb8-0008Rg-Cn for qemu-devel@nongnu.org; Thu, 23 Sep 2021 06:04:59 -0400 Received: from [192.168.100.1] ([82.142.21.142]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.103]) with ESMTPSA (Nemesis) id 1MdvVu-1n28ic1bjK-00b1JT; Thu, 23 Sep 2021 12:04:56 +0200 Subject: Re: [PATCH v5 03/20] nubus-device: expose separate super slot memory region To: Mark Cave-Ayland , qemu-devel@nongnu.org References: <20210923091308.13832-1-mark.cave-ayland@ilande.co.uk> <20210923091308.13832-4-mark.cave-ayland@ilande.co.uk> From: Laurent Vivier Message-ID: Date: Thu, 23 Sep 2021 12:04:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210923091308.13832-4-mark.cave-ayland@ilande.co.uk> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:oBLvmzYsfR7Muh5FBW40PT3RYV8uTrNbBlAJY9vwq6Dd3qppfZQ oMN0moT3gRsk6y/c7RDfRFadaKXsHi+j6rxyObOi7cE1+P95Vwvy68cBCysNEHeDB452983 72y9IMI9pS1qxQe5bL/l5WoPnduTqgWy7PZwkhZuHXPoiWvF5SqxzdEdV3clTBpKpvv4bPF JdLvvKZ6OJMBWfysUFbsQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:HMeuvVodXHA=:6DS/BDkAYUPozmpCoZHltf fNu68n4WE/cg6jKQUqeSv5n9Cn8XJCyY4TWlw9t6Un2oohOkKOBAMJ6WEnIqLr2ltAKF+prNA mk7nSnypi8Kca/FofJ1ooTKm+ToC/abeAz2TqY1t/kosEy4yy3tBFdhb4ikfDgPHGQhP+gi2o R4+la6JCYVcU2707xFNl3WpJwIf8TQO6tJ6eXnfPjJekHawpBisewSiOx492zr39zRvGTcWE/ EZ/+9uQIIs94FijNFfy8ZCL9DJN0g6vQHqbmY4vXulWGvW5OjYqfFt1TzM7HVRTm5EWzMFcJK J4HAblK9zsJasEgwlPJyGyKaxSyGrGQaHAvpk1YONjHX0rYhz4zDTN6lMio2GbWGSGePezHHY 4n0vbEFgtZkkhoakw/T+Y8ideuZ/7PeT6kECIMKFUXIGyb9ECtkPih5cgLqpqXs2QGRA4Zst+ ACyl2zrDNq/x8LfBIIsJCnjmRLUS22zFyYroJ1hlj4KR0Gb+vmY4rZxFaXYsRtVg6dEW83PLD LYUw2LycU2lXQ14ddhRhaMsNOz9XHM4W3QyTkZshqIY5lrA6nyu4s0IHJO37mZER9+bDS0JxN quaCKPZn9DwnTCyvCbKEYG7dsdUFrOB/WIiTmsF4AmsBsFkQAu5hs/kz39KuKbzwz3lM6imNM gyITws543Sjh7oHshpr/UJE9qrzZJWGMNSxo1kT9cBbkB0jX8QG5aaqeu0Nh6dR4FM9FsbYNH Ftel9yktEqX6/Ql6hy0D6hArUYwEVfvQW764Lg== Received-SPF: none client-ip=212.227.126.131; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Le 23/09/2021 à 11:12, Mark Cave-Ayland a écrit : > According to "Designing Cards and Drivers for the Macintosh Family" each physical > nubus slot can access 2 separate address ranges: a super slot memory region which > is 256MB and a standard slot memory region which is 16MB. > > Currently a Nubus device uses the physical slot number to determine whether it is > using a standard slot memory region or a super slot memory region rather than > exposing both memory regions for use as required. > > Signed-off-by: Mark Cave-Ayland > Reviewed-by: Philippe Mathieu-Daudé > --- > hw/nubus/nubus-device.c | 36 ++++++++++++++++++------------------ > include/hw/nubus/nubus.h | 1 + > 2 files changed, 19 insertions(+), 18 deletions(-) > Reviewed-by: Laurent Vivier