Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2053408pxb; Sun, 16 Jan 2022 08:23:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIAyNhzT6Fz2pdHn+W8a3F0hH5Tl5oWZY2XfjrOLkYIWZn2+y5Yn/5TOWHBA7QgMEB2Ca7 X-Received: by 2002:aa7:88d1:0:b0:4c2:6ed3:36b1 with SMTP id k17-20020aa788d1000000b004c26ed336b1mr13507865pff.19.1642350203663; Sun, 16 Jan 2022 08:23:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642350203; cv=none; d=google.com; s=arc-20160816; b=HEGD75MS+PECUJKl6ZKHJkJtbzT57/+sE/1tXqsK+z2EF3YTPrmMA/QMkf4LKQJLf/ kyewvBSvNHsUKMXNq3rcl+1h7/cVnEIQlS9XjiLyaOj9t2HFVNafrFLzHQhSB9pLq1tx nwao9/5y7OAcXNrsB83n4BgOn+DBDnV+4MtOTTshLl8VWO2+lpTEWzh4dJKugWbVFsoh h06NFyKO4JLKWXvinzILIo5Cs82M9vvzbpU07yD9jPM8Qh1GYapvL5n18UYZd3ax6cMK SOkz8fjNqZNZf/oprR7Kl9VByNeSNfrWArIMoyI5q+Snfzm+IoXmHoUcp/OMY+IMPTX3 ezxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=i7Z/KJMX0LABLzo0oa4ju7aJO8/H79numgHrSYFIz3E=; b=vgUoSoIan/fxbbTDfCmv0P62isxExhinRZn3iDF4KjHkfSo/BCTWm+WS/ELzPil65c XY4039Hwl5RtMzz0DLNsdDdw2TGjAq11TNVzuy4+95Fl//8Jj4tKfghxw4GWwTy0+5Hu r5skrgelQAMZL4tpAZ9o7QKrVDcCxOvc7NJVH8BGiJ9pCJF+9XxCLPiSdkmkhvvZOKQS P5kylvRM62WdonShCrsoZqfW/+RpOkwb6AiGX/T7PjXHox8OdoOF1J2i1AMMo5UOM13E QPcN4sFh0WTjS2hGdiqXvZ7IE3MlnzB/CDnMLgtlsfYnBhU+4R/FvQsgneYMQ2v4vJj1 7Ydw== 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 t7si12193585pgr.468.2022.01.16.08.23.11; Sun, 16 Jan 2022 08:23:23 -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 S233637AbiAOTlp (ORCPT + 99 others); Sat, 15 Jan 2022 14:41:45 -0500 Received: from mail-ua1-f51.google.com ([209.85.222.51]:41525 "EHLO mail-ua1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbiAOTlo (ORCPT ); Sat, 15 Jan 2022 14:41:44 -0500 Received: by mail-ua1-f51.google.com with SMTP id i10so1108922uab.8; Sat, 15 Jan 2022 11:41:43 -0800 (PST) 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=i7Z/KJMX0LABLzo0oa4ju7aJO8/H79numgHrSYFIz3E=; b=8NnucBiwQBRnttuF11uJ/WmtptDn0hjyOP8QP4GJzjPEt6T8ZyCiyAnTIQZGLBCsdd C0BQU7hSjBHoTgIpcBTR216l44V4UqrWonBhfWeJiF++xrV266V4gTHEA0N/BYaWruFX TBmTCEsJxhjJG0UIDK2GTLPL92VMWVKVl56hOVh7BuL0rjUjOHxYyWjB6RR5G6dQ27U8 eAfeWikBYRgvo2K+Npi5xTfyCcfjEeQkwn+4m4AtHaccVf4+Gyr4bVdwYGqburUU7ULr U8tnof5nVHfPLkal03fxxYO4fr4Q+M427xn6PYXWa9mC50iv01ZNsZtob4eqBFoNf7Gq RuVw== X-Gm-Message-State: AOAM531y3UECRDxl49c96LrRYcUjOaef/E61n5XQaqaEjXvTWMw5u62f aVZdBO9hQcc7RCRfhcFKUmvqKD21hvbfCw== X-Received: by 2002:a67:c40e:: with SMTP id c14mr5341840vsk.73.1642275703216; Sat, 15 Jan 2022 11:41:43 -0800 (PST) Received: from mail-vk1-f181.google.com (mail-vk1-f181.google.com. [209.85.221.181]) by smtp.gmail.com with ESMTPSA id f1sm2609714uae.5.2022.01.15.11.41.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Jan 2022 11:41:42 -0800 (PST) Received: by mail-vk1-f181.google.com with SMTP id w206so7884435vkd.10; Sat, 15 Jan 2022 11:41:42 -0800 (PST) X-Received: by 2002:a1f:5702:: with SMTP id l2mr5701617vkb.33.1642275702507; Sat, 15 Jan 2022 11:41:42 -0800 (PST) MIME-Version: 1.0 References: <20220115193245.3777833-1-laurent@vivier.eu> <20220115193245.3777833-5-laurent@vivier.eu> In-Reply-To: <20220115193245.3777833-5-laurent@vivier.eu> From: Geert Uytterhoeven Date: Sat, 15 Jan 2022 20:41:31 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 4/4] m68k: introduce a virtual m68k machine To: Laurent Vivier 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds