From: Benjamin Herrenschmidt Date: Mon, 6 May 2013 01:37:43 +0000 (+1000) Subject: irqdomain: Allow quiet failure mode X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~13^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fe0c1f2f0dca3351536284b0180a79f341b7854;p=pandora-kernel.git irqdomain: Allow quiet failure mode Some interrupt controllers refuse to map interrupts marked as "protected" by firwmare. Since we try to map everyting in the device-tree on some platforms, we end up with a lot of nasty WARN's in the boot log for what is a normal situation on those machines. This defines a specific return code (-EPERM) from the host map() callback which cause irqdomain to fail silently. MPIC is updated to return this when hitting a protected source printing only a single line message for diagnostic purposes. Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed