Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2053182pxb; Sun, 16 Jan 2022 08:22:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXmI1aIJXZwVO44aNPcu8rFMYyDcaFuXvv/yoH2ba1mv+TuWlnlPThbryyBE6x6FYvFNAE X-Received: by 2002:a17:902:a418:b0:14a:410e:2ad1 with SMTP id p24-20020a170902a41800b0014a410e2ad1mr19006949plq.170.1642350179677; Sun, 16 Jan 2022 08:22:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642350179; cv=none; d=google.com; s=arc-20160816; b=qm4/A6OP7UvsN5MIUSM4VVQ6d9PYTAmJISbDZYHiNza/9hhbTFrEr3D3v4Uga9pJy0 NtoFuzx+k9ObSdQXSj1xSlmCE8+XZLMhUB0Ts5h7Y6KkguEgU3HT7Uj4+zi+ykiL0S2R +ACoqnxsY/xU7PuQpgYkD+Ef72IuvGXW0+3cr2B4wPraneaMOH6L2Jj8/EJxbVCYFOl7 t5/klc/7mulWlmoch3l1nvOLNOwdT/ptuoyNcTyPL7bJdkcnjrrHsrf3u3BE2jj7bSNh gVRLtZmJ2zgYaq90XKrD042ttifpQ21GOanRgwsS6mfBbyDkYKkw3ST3rUIVofXXENkz 9CpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=BopRDBXvAqQXLBREvMWgspN6Mj3IN1BVYWwvqRDUASc=; b=TWd8AfkIvwiEapbkzvLXqHq3et+qeni1JT4bhVXKeys3/iKRfbyzqNof4/40PdXSN3 FH0ZkLadOstvy5ejLG0I0A1Jy0mDnvS7kLhprikiUSXgpusfsLCuoaN+QXvq1xf/aW48 NY/mWcrk4ZlT7WTbWeFYEqXRP0XUX/YYzy+IcbeifRiV5llUUY9hvvFwKqrASGa2HvRD 8xPVyIzfCudqXCDx+zNMdNrKwlEyEfVLMjHD8jZzSgCmf8xw5UHbHUxavahqE3kz065j IOUohJKYgqkIdbBErMmyLQj+rtpnvoBDq0ZffvGtEkzEBOoszk1666TQrBsfmziekMbD aEiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si11996445pgf.426.2022.01.16.08.22.48; Sun, 16 Jan 2022 08:22:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233621AbiAOTsP (ORCPT + 99 others); Sat, 15 Jan 2022 14:48:15 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:44395 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231172AbiAOTsO (ORCPT ); Sat, 15 Jan 2022 14:48:14 -0500 Received: from [192.168.100.1] ([82.142.13.186]) by mrelayeu.kundenserver.de (mreue108 [213.165.67.119]) with ESMTPSA (Nemesis) id 1N79ly-1mH7NX1uCy-017Qwb; Sat, 15 Jan 2022 20:47:39 +0100 Message-ID: Date: Sat, 15 Jan 2022 20:47:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v8 4/4] m68k: introduce a virtual m68k machine Content-Language: fr To: Geert Uytterhoeven Cc: Linux Kernel Mailing List , John Stultz , linux-rtc@vger.kernel.org, Jiaxun Yang , Daniel Lezcano , Thomas Gleixner , Alessandro Zummo , Alexandre Belloni , Stephen Boyd , Arnd Bergmann , linux-m68k References: <20220115193245.3777833-1-laurent@vivier.eu> <20220115193245.3777833-5-laurent@vivier.eu> From: Laurent Vivier In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:8IQk7dMKKQFaRROY1rEDyjyqT+yHtssPD+wgTVK1haU3bt5Nbeq ozwumov3iH3OBwd0H7ZOxbRiKRE91W/jjUMi3f9kVb2pbpEUqhwcnrcucXJUZCzOzc1TNyg nS6vNoXgLNi6XfcILwpelCkeS+8IBbuE6F5D8Oq+P/se8WgUdIhVgMB+VvCvZhPTIQbTY0N SeIi4dE+m+oXIUhJMQcQg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:JvmOhXg6fFg=:wxZBxFyhB08Qt4HjmAXxbc WiA5AtqIbl+Fid7VDmAv+fwqmNObqVCbmoHwDMjE+Q1/+xI0UGnJpUlVkhzhNG1tGtAFpwLdm WmQvBhqrqqZGfDqMB9KWwzzIdM7ZfigCicIgbstLE3ca6mHNibUbgpwOAi+IiTJae+GxjKU8j es9INT7yFEY3Mb4Fa+BjKZaJgKliLKflpzph9aEFPM8DFQu30ypTTB0RgHwBeoowlAQ0KlbQ6 gGRPXrwSg9lGKZYWqlBeiFn4FsjOXP10tAgs+4XHy9BjUvgk/ovT6n9rSX1xBgz51kvPecY8V scdin8pkUzfLLy0D1wFADE9vxKF1k2C1/wNq1ulUwIb0yyR2Nf9aGTiXIg5ofRIcKRSdza844 LRKpuiIRePyXnSwfp5fY6GO7cKiD4FP7id1Y1VNlCvn+IV7qiMpR6/SnwtiRtHVV3I+eFg6AD Rs7Ku76EO4C4UjlxUkG1HrHgOmCzr3lgTkYZR6Aol5DSpgWqRzn/IORj4fQXLIvKGezzWrEof pHqpD7uaoUvDMfAulqmghS1P98Z/ZxXdN8rkBfUj6Xab+GiXnAMEnJ3fS7JOP+S3l9DsWqmxw s5Sufkew0SfD5d9jYjyEzxz0rRg+LK1JDiKWnoDD4OGn0wZEEyrM/w7NrTQY70grO/uQ2rCuv br9WXSELmN23EEgppFtJmpKDAHbK5Op4AnyzEaZ8ln6FbqwVeic3XbXqruqGNeQxQwHA= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 15/01/2022 à 20:41, Geert Uytterhoeven a écrit : > Hi Laurent, > > On Sat, Jan 15, 2022 at 8:33 PM Laurent Vivier wrote: >> This machine allows to have up to 3.2 GiB and 128 Virtio devices. >> >> It is based on android goldfish devices. >> >> Signed-off-by: Laurent Vivier > > Thanks for your patch (the new versions keep on coming quickly). > >> --- /dev/null >> +++ b/arch/m68k/virt/platform.c > >> +static int __init virt_platform_init(void) >> +{ >> + const struct resource goldfish_tty_res[] = { >> + DEFINE_RES_MEM(virt_bi_data.tty.mmio, 1), >> + DEFINE_RES_IRQ(virt_bi_data.tty.irq), >> + }; >> + /* this is the second gf-rtc, the first one is used by the scheduler */ >> + const struct resource goldfish_rtc_res[] = { >> + DEFINE_RES_MEM(virt_bi_data.rtc.mmio + 0x1000, 0x1000), >> + DEFINE_RES_IRQ(virt_bi_data.rtc.irq + 1), >> + }; >> + extern unsigned long min_low_pfn; > > checkpatch keeps on complaining. > #include instead? oh, yes, I didn't see it was defined here. Thank you. I've updated my patch, the change will be in the next version. Thanks, Laurent