{"push_id":624525550,"size":12,"distinct_size":12,"ref":"refs/heads/boundary-imx_3.10.17_1.0.2_ga","head":"438dc4e899f808d701ed63f6920d4e2046761a48","before":"4c21ec6a1d7be06edd8faea0f7d2c27b86ab3f91","commits":[{"sha":"bf4be42c8f740d8b69d9f01aca84bec4754af3b7","author":{"email":"debfc29e3a9e989b865b88f1f207951588bac6b3@boundarydevices.com","name":"Troy Kisky"},"message":"Revert \"of/irq: add interrupts-extended property\"\n\nThis reverts commit af3da3ae658c3be7510a0fa772628ba5602e1b97.","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/bf4be42c8f740d8b69d9f01aca84bec4754af3b7"},{"sha":"97583eab5511fe34084e1afe4bfc723310a49652","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-1 of/irq: Rename of_irq_map_* functions to of_irq_parse_*\n\ncommit 0c02c8007ea5554d028f99fd3e29fc201fdeeab3 upstream.\n\nThe OF irq handling code has been overloading the term 'map' to refer to\nboth parsing the data in the device tree and mapping it to the internal\nlinux irq system. This is probably because the device tree does have the\nconcept of an 'interrupt-map' function for translating interrupt\nreferences from one node to another, but 'map' is still confusing when\nthe primary purpose of some of the functions are to parse the DT data.\n\nThis patch renames all the of_irq_map_* functions to of_irq_parse_*\nwhich makes it clear that there is a difference between the parsing\nphase and the mapping phase. Kernel code can make use of just the\nparsing or just the mapping support as needed by the subsystem.\n\nThe patch was generated mechanically with a handful of sed commands.\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nAcked-by: Michal Simek <monstr@monstr.eu>\nAcked-by: Tony Lindgren <tony@atomide.com>\nCc: Ralf Baechle <ralf@linux-mips.org>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>\n\nConflicts:\n\tarch/arm/mach-integrator/pci_v3.c\n\tarch/mips/pci/pci-rt3883.c\n\tdrivers/of/irq.c","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/97583eab5511fe34084e1afe4bfc723310a49652"},{"sha":"4423cba7bd0350101b18f647b7b993106e73ab2a","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-2 of/irq: Replace of_irq with of_phandle_args\n\ncommit 530210c7814e83564c7ca7bca8192515042c0b63 upstream.\n\nstruct of_irq and struct of_phandle_args are exactly the same structure.\nThis patch makes the kernel use of_phandle_args everywhere. This in\nitself isn't a big deal, but it makes some follow-on patches simpler.\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nAcked-by: Michal Simek <monstr@monstr.eu>\nAcked-by: Tony Lindgren <tony@atomide.com>\nCc: Russell King <linux@arm.linux.org.uk>\nCc: Ralf Baechle <ralf@linux-mips.org>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>\n\nConflicts:\n\tarch/arm/mach-integrator/pci_v3.c\n\tarch/mips/pci/pci-rt3883.c\n\tinclude/linux/of_irq.h","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/4423cba7bd0350101b18f647b7b993106e73ab2a"},{"sha":"5c992de0edc1ad2146a25fe3cbced52936d3b723","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-3 of/irq: simplify args to irq_create_of_mapping\n\ncommit e6d30ab1e7d1281784672c0fc2ffa385cfb7279e upstream.\n\nAll the callers of irq_create_of_mapping() pass the contents of a struct\nof_phandle_args structure to the function. Since all the callers already\nhave an of_phandle_args pointer, why not pass it directly to\nirq_create_of_mapping()?\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nAcked-by: Michal Simek <monstr@monstr.eu>\nAcked-by: Tony Lindgren <tony@atomide.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Russell King <linux@arm.linux.org.uk>\nCc: Ralf Baechle <ralf@linux-mips.org>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>\n\nConflicts:\n\tarch/arm/mach-integrator/pci_v3.c\n\tarch/mips/pci/pci-rt3883.c\n\tkernel/irq/irqdomain.c","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/5c992de0edc1ad2146a25fe3cbced52936d3b723"},{"sha":"8f6fa8afe9a238b4caf2a75d721b837dcfdf0ece","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-4 of/irq: Refactor interrupt-map parsing\n\ncommit 2361613206e66ce59cc0e08efa8d98ec15b84ed1 upstream.\n\nAll the users of of_irq_parse_raw pass in a raw interrupt specifier from\nthe device tree and expect it to be returned (possibly modified) in an\nof_phandle_args structure. However, the primary function of\nof_irq_parse_raw() is to check for translations due to the presence of\none or more interrupt-map properties. The actual placing of the data\ninto an of_phandle_args structure is trivial. If it is refactored to\naccept an of_phandle_args structure directly, then it becomes possible\nto consume of_phandle_args from other sources. This is important for an\nupcoming patch that allows a device to be connected to more than one\ninterrupt parent. It also simplifies the code a bit.\n\nThe biggest complication with this patch is that the old version works\non the interrupt specifiers in __be32 form, but the of_phandle_args\nstructure is intended to carry it in the cpu-native version. A bit of\nchurn was required to make this work. In the end it results in tighter\ncode, so the churn is worth it.\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nAcked-by: Tony Lindgren <tony@atomide.com>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>\n\nConflicts:\n\tdrivers/of/irq.c","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/8f6fa8afe9a238b4caf2a75d721b837dcfdf0ece"},{"sha":"ede29e389ca940a6c0ede0bd469c8f463851b204","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-5 of: Add helper for printing an of_phandle_args structure\n\ncommit 624cfca534f9b1ffb1326617b4e973a3d5ecff4a upstream.\n\nIt is sometimes useful for debug to get the contents of an\nof_phandle_args structure out into the kernel log.\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>\n\nConflicts:\n\tdrivers/of/base.c","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/ede29e389ca940a6c0ede0bd469c8f463851b204"},{"sha":"71057792a7eb11ab1ae18867ad7dd6c2c7fd80ce","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-6 of: Add testcases for interrupt parsing\n\ncommit a9f10ca76d784023fc45f01f025b54e9960f4ec1 upstream.\n\nThis patch extends the DT selftest code with some test cases for the\ninterrupt parsing functions.\n\nSigned-off-by: Grant Likely <grant.likely@secretlab.ca>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/71057792a7eb11ab1ae18867ad7dd6c2c7fd80ce"},{"sha":"297dcdb5d1c8066eb7150e7c812c280ffad15e9a","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-7 of/irq: Create of_irq_parse_and_map_pci() to consolidate arch code.\n\ncommit 16b84e5a505c790538e534ad8dfda9c288691e40 upstream.\n\nSeveral architectures open code effectively the same code block for\nfinding and mapping PCI irqs. This patch consolidates it down to a\nsingle function.\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nAcked-by: Michal Simek <monstr@monstr.eu>\nCc: Russell King <linux@arm.linux.org.uk>\nCc: Ralf Baechle <ralf@linux-mips.org>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>\n\nConflicts:\n\tarch/arm/mach-integrator/pci_v3.c\n\tarch/mips/pci/pci-rt3883.c","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/297dcdb5d1c8066eb7150e7c812c280ffad15e9a"},{"sha":"24279975ffb6b62ef05c8ed4a73536879340f50b","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-8 microblaze/pci: Drop PowerPC-ism from irq parsing\n\ncommit f27446c3ad5b6d3b5b28ec0176e23d3ceca595d8 upstream.\n\nThe Microblaze PCI code copied the PowerPC irq handling, but powerpc\nneeds to handle broken device trees that are not present on Microblaze.\nThis patch removes the powerpc special case and replaces it with a\ndirect of_irq_parse_and_map_pci() call.\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nAcked-by: Michal Simek <monstr@monstr.eu>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/24279975ffb6b62ef05c8ed4a73536879340f50b"},{"sha":"74b76ebd23cc2c1793e7768d8b4ad7efae877227","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-9 of/irq: create interrupts-extended property\n\ncommit 79d9701559a9f3e9b2021fbd292f5e70ad75f686 upstream.\n\nThe standard interrupts property in device tree can only handle\ninterrupts coming from a single interrupt parent. If a device is wired\nto multiple interrupt controllers, then it needs to be attached to a\nnode with an interrupt-map property to demux the interrupt specifiers\nwhich is confusing. It would be a lot easier if there was a form of the\ninterrupts property that allows for a separate interrupt phandle for\neach interrupt specifier.\n\nThis patch does exactly that by creating a new interrupts-extended\nproperty which reuses the phandle+arguments pattern used by GPIOs and\nother core bindings.\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nAcked-by: Tony Lindgren <tony@atomide.com>\nAcked-by: Kumar Gala <galak@codeaurora.org>\n[grant.likely: removed versatile platform hunks into separate patch]\nCc: Rob Herring <rob.herring@calxeda.com>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/74b76ebd23cc2c1793e7768d8b4ad7efae877227"},{"sha":"74fa354f5ba2419bb32497413b37f873895f88c1","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-10 of/irq: Fix bug in interrupt parsing refactor.\n\ncommit 78119fd1068cc068f6112a57a5f6de0e5b20245a upstream.\n\nCommit 2361613206e6, \"of/irq: Refactor interrupt-map parsing\" introduced\na bug. The irq parsing will fail for some nodes that don't have a reg\nproperty. It is fixed by deferring the check for reg until it is\nactually needed. Also adjust the testcase data to catch the bug.\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nTested-by: Stephen Warren <swarren@nvidia.com>\nTested-by: Ming Lei <tom.leiming@gmail.com>\nTested-by: Stephen Warren <swarren@nvidia.com>\nCc: Rob Herring <rob.herring@calxeda.com>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/74fa354f5ba2419bb32497413b37f873895f88c1"},{"sha":"438dc4e899f808d701ed63f6920d4e2046761a48","author":{"email":"9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@linaro.org","name":"Grant Likely"},"message":"ENGR00313685-11 of/irq: Fix potential buffer overflow\n\ncommit 355e62f5ad12b005c862838156262eb2df2f8dff upstream.\n\nCommit 2361613206e6, \"of/irq: Refactor interrupt-map parsing\" introduced\na potential buffer overflow bug because it doesn't do sufficient range\nchecking on the input data. This patch adds the appropriate checking and\nbuffer size adjustments. If the bounds are out of range then warn\nloudly. MAX_PHANDLE_ARGS should be sufficient. If it is not then the\nvalue can be increased.\n\nSigned-off-by: Grant Likely <grant.likely@linaro.org>\nCc: Rob Herring <rob.herring@calxeda.com>\nSigned-off-by: Shawn Guo <shawn.guo@freescale.com>","distinct":true,"url":"https://api.github.com/repos/boundarydevices/linux-imx6/commits/438dc4e899f808d701ed63f6920d4e2046761a48"}]}