The patch titled gpio calls don't need i/o barriers has been added to the -mm tree. Its filename is gpio-calls-dont-need-i-o-barriers.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: gpio calls don't need i/o barriers From: David Brownell <david-b@xxxxxxxxxxx> Clarify that drivers using the GPIO operations don't need to issue io barrier instructions themselves. Previously this wasn't clear, and at least one platform assumed otherwise (and would thus break various otherwise-portable drivers which don't issue barriers). Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/gpio.txt | 3 +++ 1 files changed, 3 insertions(+) diff -puN Documentation/gpio.txt~gpio-calls-dont-need-i-o-barriers Documentation/gpio.txt --- a/Documentation/gpio.txt~gpio-calls-dont-need-i-o-barriers +++ a/Documentation/gpio.txt @@ -75,6 +75,9 @@ using the include file: If you stick to this convention then it'll be easier for other developers to see what your code is doing, and help maintain it. +Note that these operations include I/O barriers on platforms which need to +use them; drivers don't need to add them explicitly. + Identifying GPIOs ----------------- _ Patches currently in -mm which might be from david-b@xxxxxxxxxxx are origin.patch git-avr32.patch pm-do-not-use-saved_state-from-struct-dev_pm_info-on-arm.patch git-mmc.patch git-mtd.patch geode-basic-infrastructure-support-for-amd-geode-class.patch char-genrtc-use-wait_event_interruptible.patch drivers-pmc-msp71xx-gpio-char-driver.patch gpio-calls-dont-need-i-o-barriers.patch spi-controller-drivers-check-for-unsupported-modes.patch spi-add-3wire-mode-flag.patch spidev-compiler-warning-gone.patch spi_mpc83xxc-underclocking-hotfix.patch atmel_spi-minor-updates.patch s3c24xx-spi-controllers-both-select-bitbang.patch spi-master-driver-for-xilinx-virtex.patch spi-omap2_mcspi-driver.patch rtc-ds1307-cleanups.patch rtc-rs5c372-becomes-a-new-style-i2c-driver.patch thecus-n2100-register-rtc-rs5c372-i2c-device.patch rtc-make-example-code-jump-to-done-instead-of-return-when-ioctl-not-supported.patch rtc-dev-return-enotty-in-ioctl-if-irq_set_freq-is-not-implemented-by-driver.patch driver-for-the-atmel-on-chip-rtc-on-at32ap700x-devices.patch rtc-kconfig-tweax.patch rtc-add-rtc-m41t80-driver-take-2.patch rtc-watchdog-support-for-rtc-m41t80-driver-take-2.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html