Emil Medve 57fb907da8 iommu/fsl: Really fix init section(s) content
'0f1fb99 iommu/fsl: Fix section mismatch' was intended to address the modpost
warning and the potential crash. Crash which is actually easy to trigger with a
'unbind' followed by a 'bind' sequence. The fix is wrong as
fsl_of_pamu_driver.driver gets added by bus_add_driver() to a couple of
klist(s) which become invalid/corrupted as soon as the init sections are freed.
Depending on when/how the init sections storage is reused various/random errors
and crashes will happen

'cd70d46 iommu/fsl: Various cleanups' contains annotations that go further down
the wrong path laid by '0f1fb99 iommu/fsl: Fix section mismatch'

Now remove all the incorrect annotations from the above mentioned patches (not
exactly a revert) and those previously existing in the code, This fixes the
modpost warning(s), the unbind/bind sequence crashes and the random
errors/crashes

Fixes: 0f1fb99b62ce ("iommu/fsl: Fix section mismatch")
Fixes: cd70d4659ff3 ("iommu/fsl: Various cleanups")
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Acked-by: Varun Sethi <Varun.Sethi@freescale.com>
Cc: stable@vger.kernel.org
Tested-by: Madalin Bucur <Madalin.Bucur@freescale.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2015-08-18 11:30:46 +02:00
..
2015-03-02 12:08:43 -05:00
2015-03-17 10:41:26 -07:00
2015-02-17 09:27:54 -08:00
2015-02-15 10:48:44 -08:00
2015-02-03 15:48:51 -08:00
2015-03-22 16:38:19 -07:00
2015-02-03 15:58:39 -08:00
2015-02-18 09:05:48 -08:00
2015-02-04 09:15:18 +01:00
2015-03-12 09:45:46 -07:00
2015-02-18 08:40:29 +01:00
2015-02-17 09:38:59 -08:00
2015-03-22 11:33:55 -07:00
2015-02-15 10:24:55 -08:00
2015-02-03 15:58:39 -08:00