[PATCH] powerpc/powernv: Remove support for p5ioc2

Andrew Donnellan andrew.donnellan at au1.ibm.com
Wed Jan 13 17:39:31 AEDT 2016


On 13/01/16 17:10, Russell Currey wrote:
> "p5ioc2 is used by approximately 2 machines in the world, and has never
> ever been a supported configuration."
>
> The code for p5ioc2 is essentially unused and complicates what is already
> a very complicated codebase.  Its removal is essentially a "free win" in
> the effort to simplify the powernv PCI code.
>
> In addition, support for p5ioc2 has been dropped from skiboot.  There's no
> reason to keep it around in the kernel.
>
> Signed-off-by: Russell Currey <ruscur at russell.cc>

Doesn't apply cleanly on next, but that's minor.

> @@ -117,11 +115,6 @@ struct pnv_phb {
>
>   	union {
>   		struct {
> -			struct iommu_table iommu_table;
> -			struct iommu_table_group table_group;
> -		} p5ioc2;
> -
> -		struct {
>   			/* Global bridge info */
>   			unsigned int		total_pe;
>   			unsigned int		reserved_pe;

Given this leaves struct ioda as the only member of the union, do we 
want to get rid of the union?

-- 
Andrew Donnellan              Software Engineer, OzLabs
andrew.donnellan at au1.ibm.com  Australia Development Lab, Canberra
+61 2 6201 8874 (work)        IBM Australia Limited



More information about the Linuxppc-dev mailing list