xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH+RFC+HACK 00/16] xen: arm initial support for xgene arm64 platform
@ 2013-11-20 14:45 Ian Campbell
  2013-11-20 14:48 ` [PATCH 01/16] xen: arm64: Add 8250 earlyprintk support Ian Campbell
                   ` (16 more replies)
  0 siblings, 17 replies; 55+ messages in thread
From: Ian Campbell @ 2013-11-20 14:45 UTC (permalink / raw)
  To: xen-devel
  Cc: Anup Patel, George Dunlap, Tim Deegan, Julien Grall,
	Stefano Stabellini, Pranavkumar Sawargaonkar

I'm afraid this series is rather a grab bag and it is distressingly
large at this stage. With this series I can boot an Xgene board until it
fails to find its SATA controller. This is a dom0 issue for which
patches are pending from APM (/me nudges Anup).

As well as the APM specific platform stuff there are also some generic
improvements which were either necessary or useful during this work.
Towards the tail end are some hacks and rfcs which need more work and/or
discussion. I mostly posting now because I'm aware that I've been
negligent in not sending these out sooner.

WRT the freeze I think that the baseline stuff is all plausible for 4.4.
Firstly because I'm inclined to give new platform enablement a fairly
loose reign at least for the time being (and much of it was posted ages
ago by Anup/Pranavkumar). Secondly the non-platform related bits (other
than the aforementioned hacks/rfcs) fall mostly either into two buckets:
Either they are bugfixes or they are mostly obviously safe (additional
debug prints etc).

Blow by blow analysis:

        xen: arm64: Add 8250 earlyprintk support
        
                New early uart driver. It is enabled as a build time
                debug option and is totally harmless to platforms which
                don't use it.
                
        xen: arm64: Add Basic Platform support for APM X-Gene Storm.
        xen: arm64: Add APM implementor id to processor implementers.
        xen: arm: include ns16550 driver on arm64 too
        xen: arm: Enable 1:1 workaround for APM X-Gene Storm.
        
                Support for the new platform. Enable an existing driver
                used by that platform (already on for arm32).
                
        xen: arm: early logging of command line
        
                Pretty safe & very useful IMNSVHO.
                
        xen: arm: Handle cpus nodes with #address-calls > 1
        xen: arm: Make register bit definitions unsigned.
        xen: arm: explicitly map 64 bit release address
        
                Bug fixes.
        
        xen: arm: enable synchronous console while starting secondary CPUs
        
                Improves logging in a useful way. Pretty safe.

        xen: arm: Add debug keyhandler to dump the physical GIC state.
        
                Useful debug functionality. Harmless unless you
                deliberately trigger the particular debug key.
                
        xen: arm: improve early memory map readability
        
                Cosmetic, but safe.
        
        RFC: xen: arm: handle 40-bit addresses in the p2m
        RFC: xen: arm: allow platform code to select dom0 event channel irq
        
                These should be considered for cleanup review and
                eventual commit for 4.4. The rest of the platform
                enablement is pretty pointless without these.
        
        HACK: xen: arm: GICC_DIR register at offset 0x10000 instead of 0x1000
        
                Should be properly implemented with a view to being
                accepted for 4.4. Again things are rather pointless
                without.
                
                Could plausibly be reimplemented as a platform quirk,
                which might be safer for 4.4.
                
        HACK: xen: arm: map PCI controller ranges region MMIOs to dom0.
        
                I think this one is likely to be a step too far for 4.4.
                Even if it worked (it doesn't) it is quite a big and
                potentially complex change. I'm considering the option
                of implementing the hardcoded list (which is here as a
                HACK, see the commit message for more) via the
                platform->specific_mapping callback for 4.4. In that
                case it would only impact Xgene if it were broken.

Ian.

^ permalink raw reply	[flat|nested] 55+ messages in thread

end of thread, other threads:[~2013-11-22  9:49 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20 14:45 [PATCH+RFC+HACK 00/16] xen: arm initial support for xgene arm64 platform Ian Campbell
2013-11-20 14:48 ` [PATCH 01/16] xen: arm64: Add 8250 earlyprintk support Ian Campbell
2013-11-20 16:17   ` Julien Grall
2013-11-20 14:48 ` [PATCH 02/16] xen: arm64: Add Basic Platform support for APM X-Gene Storm Ian Campbell
2013-11-20 16:23   ` Julien Grall
2013-11-20 19:07   ` Stefano Stabellini
2013-11-20 14:48 ` [PATCH 03/16] xen: arm64: Add APM implementor id to processor implementers Ian Campbell
2013-11-20 16:23   ` Julien Grall
2013-11-20 19:10   ` Stefano Stabellini
2013-11-20 14:48 ` [PATCH 04/16] xen: arm: include ns16550 driver on arm64 too Ian Campbell
2013-11-20 16:24   ` Julien Grall
2013-11-20 19:10   ` Stefano Stabellini
2013-11-20 14:48 ` [PATCH 05/16] xen: arm: Enable 1:1 workaround for APM X-Gene Storm Ian Campbell
2013-11-20 19:10   ` Stefano Stabellini
2013-11-21 10:24     ` Ian Campbell
2013-11-20 14:48 ` [PATCH 06/16] xen: arm: early logging of command line Ian Campbell
2013-11-20 16:25   ` Julien Grall
2013-11-20 19:06   ` Stefano Stabellini
2013-11-20 14:48 ` [PATCH 07/16] xen: arm: Handle cpus nodes with #address-calls > 1 Ian Campbell
2013-11-20 16:31   ` Julien Grall
2013-11-20 16:37     ` Ian Campbell
2013-11-20 16:46       ` Julien Grall
2013-11-20 14:48 ` [PATCH 08/16] xen: arm: Make register bit definitions unsigned Ian Campbell
2013-11-20 19:29   ` Stefano Stabellini
2013-11-21 10:29     ` Ian Campbell
2013-11-20 14:48 ` [PATCH 09/16] xen: arm: explicitly map 64 bit release address Ian Campbell
2013-11-20 19:31   ` Stefano Stabellini
2013-11-20 14:48 ` [PATCH 10/16] xen: arm: enable synchronous console while starting secondary CPUs Ian Campbell
2013-11-20 17:31   ` Julien Grall
2013-11-20 17:37     ` Ian Campbell
2013-11-21 13:40       ` Julien Grall
2013-11-20 19:22   ` Stefano Stabellini
2013-11-21 10:32     ` Ian Campbell
2013-11-20 14:48 ` [PATCH 11/16] xen: arm: Add debug keyhandler to dump the physical GIC state Ian Campbell
2013-11-20 17:36   ` Julien Grall
2013-11-20 17:48     ` Ian Campbell
2013-11-20 19:17   ` Stefano Stabellini
2013-11-21 10:35     ` Ian Campbell
2013-11-20 14:48 ` [PATCH 12/16] xen: arm: improve early memory map readability Ian Campbell
2013-11-20 17:16   ` Julien Grall
2013-11-20 14:48 ` [PATCH 13/16] RFC: xen: arm: handle 40-bit addresses in the p2m Ian Campbell
2013-11-21 19:17   ` Stefano Stabellini
2013-11-22  9:49     ` Ian Campbell
2013-11-20 14:48 ` [PATCH 14/16] RFC: xen: arm: allow platform code to select dom0 event channel irq Ian Campbell
2013-11-21 18:44   ` Stefano Stabellini
2013-11-20 14:48 ` [PATCH 15/16] HACK: xen: arm: GICC_DIR register at offset 0x10000 instead of 0x1000 Ian Campbell
2013-11-20 14:48 ` [PATCH 16/16] HACK: xen: arm: map PCI controller ranges region MMIOs to dom0 Ian Campbell
2013-11-21 14:32   ` Julien Grall
2013-11-21 14:57     ` Ian Campbell
2013-11-21 15:42       ` Julien Grall
2013-11-21 15:53         ` Ian Campbell
2013-11-21 15:05 ` [PATCH+RFC+HACK 00/16] xen: arm initial support for xgene arm64 platform George Dunlap
2013-11-21 15:27   ` Stefano Stabellini
2013-11-21 15:38   ` Ian Campbell
2013-11-21 17:14     ` George Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).