)]}'
{
  "log": [
    {
      "commit": "2276f03b745c297733e41470dde7f32bdd4b52af",
      "tree": "368a86b2233e6121bde6d974a589c334c1c480fd",
      "parents": [
        "4104980a3c21801f701e53961375b3d736ee9a73"
      ],
      "author": {
        "name": "Robert Jarzmik",
        "email": "robert.jarzmik@free.fr",
        "time": "Sat Sep 06 23:01:32 2008 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Tue Sep 09 16:32:53 2008 +0100"
      },
      "message": "[ARM] 5244/1: Add hardware CTSRTS flow control to pxa serial driver\n\nAdds hardware CTSRTS control for pxa serial devices through\ntermios controls.\n\nSigned-off-by: Robert Jarzmik \u003crobert.jarzmik@free.fr\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "a09e64fbc0094e3073dbb09c3b4bfe4ab669244b",
      "tree": "69689f467179891b498bd7423fcf61925173db31",
      "parents": [
        "a1b81a84fff05dbfef45b7012c26e1fee9973e5d"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Tue Aug 05 16:14:15 2008 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Thu Aug 07 09:55:48 2008 +0100"
      },
      "message": "[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach\n\nThis just leaves include/asm-arm/plat-* to deal with.\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "be509729356b7433f73df2b9a966674a437fbbc1",
      "tree": "5a3e90513c106f9dcf08405e4ebd3599fd14413c",
      "parents": [
        "0f8469a54f7bd65f2c740a5480c56260dc8a7ae0"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Mon Aug 04 10:41:28 2008 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Thu Aug 07 09:40:08 2008 +0100"
      },
      "message": "[ARM] Remove asm/hardware.h, use asm/arch/hardware.h instead\n\nRemove includes of asm/hardware.h in addition to asm/arch/hardware.h.\nThen, since asm/hardware.h only exists to include asm/arch/hardware.h,\nupdate everything to directly include asm/arch/hardware.h and remove\nasm/hardware.h.\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "a88487c79bfefb715030c5baa68fbedc1b8732e8",
      "tree": "1bf54afe3ec0a8aef77fc0e4ccc2c922a918ad98",
      "parents": [
        "b1ca7e7a0b35874b2a9cae60f8f5b78df575faa7"
      ],
      "author": {
        "name": "Takashi Iwai",
        "email": "tiwai@suse.de",
        "time": "Wed Jul 16 21:54:42 2008 +0100"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sun Jul 20 17:12:36 2008 -0700"
      },
      "message": "Fix compile errors in SGI console drivers (linux-next tree)\n\nThe below is the patch to replace blindly all possible places,\nincluding Jack\u0027s fixes.\n\nSigned-off-by: Takashi Iwai \u003ctiwai@suse.de\u003e\n(Reviewed and checked rather than blindly added)\nSigned-off-by: Alan Cox \u003calan@redhat.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "e169c139642fb4c682ec12a409725508dbefa520",
      "tree": "71d1911b9973bc68c69597784c9d542c03f935b8",
      "parents": [
        "12c2c019eb9b0b586a061b336766d11cca449499"
      ],
      "author": {
        "name": "Kay Sievers",
        "email": "kay.sievers@vrfy.org",
        "time": "Tue Apr 15 14:34:35 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Apr 15 19:35:40 2008 -0700"
      },
      "message": "serial: fix platform driver hotplug/coldplug\n\nSince 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is\nprefixed with \"platform:\".  Add MODULE_ALIAS() to the hotpluggable serial\nplatform drivers, to re-enable auto loading.\n\nNOTE that Kconfig for some of these drivers doesn\u0027t allow modular builds, and\nthus doesn\u0027t match the driver source\u0027s unload support.  Presumably their\nunload code is buggy and/or weakly tested...\n\n[dbrownell@users.sourceforge.net: more drivers, registration fixes]\nSigned-off-by: Kay Sievers \u003ckay.sievers@vrfy.org\u003e\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nAcked-by: Peter Korsgaard \u003cjacmet@sunsite.dk\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "fa7f1518e8a107e1feab0357b18c745b9a6927c5",
      "tree": "d3a6589878a9ea6f0498c8f85fb195be8d29f63b",
      "parents": [
        "1f809226b9f4d3a89e42212fed7b482e8b30f77c"
      ],
      "author": {
        "name": "Philipp Zabel",
        "email": "philipp.zabel@gmail.com",
        "time": "Thu Nov 22 17:52:47 2007 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Mon Nov 26 14:39:12 2007 +0000"
      },
      "message": "[ARM] 4662/1: Fix PXA serial driver compilation if SERIAL_PXA_CONSOLE is disabled\n\nSigned-off-by: Philipp Zabel \u003cphilipp.zabel@gmail.com\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "b049bd9de4959dd9e4b586d14b6de450a52c6f1f",
      "tree": "11bcddc46d8af9e7f4fa43e247bc20bf5170d635",
      "parents": [
        "ebebd9b0a1463d5de89017ad59a6b9cd4044687f"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Mon Aug 20 10:28:15 2007 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Fri Oct 12 21:15:07 2007 +0100"
      },
      "message": "[ARM] pxa: update pxa serial driver to use clk support\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "e259a3aecbfb61981175ddc7fc02dd180da7d73e",
      "tree": "fb265b5c377f2e82b3cf8d3b0805ff9ba17df891",
      "parents": [
        "08197f6e3b262f4fb8b164c818d5e54b46c14711"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Mon Aug 20 09:47:41 2007 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Fri Oct 12 21:14:49 2007 +0100"
      },
      "message": "[ARM] pxa: convert PXA serial drivers to use platform resources\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "7053acbd78336abf5d4bc3d8a875a03624cfb83f",
      "tree": "76dff22217a91d40c1d44292c0454d31cad55f15",
      "parents": [
        "a79220b7633b3926a9bd3527bdac3f04dbe6845c"
      ],
      "author": {
        "name": "Eric Miao",
        "email": "eric.y.miao@gmail.com",
        "time": "Thu Apr 05 04:07:20 2007 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Sat Apr 21 23:14:01 2007 +0100"
      },
      "message": "[ARM] 4304/1: removes the unnecessary bit number from CKENnn_XXXX\n\nThis patch removes the unnecessary bit number from CKENnn_XXXX\ndefinitions for PXA, so that\n\n\tCKEN0_PWM0 --\u003e CKEN_PWM0\n\tCKEN1_PWM1 --\u003e CKEN_PWM1\n\t...\n\tCKEN24_CAMERA --\u003e CKEN_CAMERA\n\nThe reasons for the change of these defitions are:\n\n1. they do not scale - they are currently valid for pxa2xx, but\ndefinitely not valid for pxa3xx, e.g., pxa3xx has bit 3 for camera\ninstead of bit 24\n\n2. they are unnecessary - the peripheral name within the definition\nhas already announced its usage, we don\u0027t need those bit numbers\nto know which peripheral we are going to enable/disable clock for\n\n3. they are inconvenient - think about this: a driver programmer\nfor pxa has to remember which bit in the CKEN register to turn\non/off\n\nAnother change in the patch is to make the definitions equal to its\nclock bit index, so that\n\n   #define CKEN_CAMERA  (24)\n\ninstead of\n\n   #define CKEN_CAMERA  (1 \u003c\u003c 24)\n\nthis change, however, will add a run-time bit shift operation in\npxa_set_cken(), but the benefit of this change is that it scales\nwhen bit index exceeds 32, e.g., pxa3xx has two registers CKENA\nand CKENB, totally 64 bit for this, suppose CAMERA clock enabling\nbit is CKENB:10, one can simply define CKEN_CAMERA to be (32 + 10)\nand so that pxa_set_cken() need minimum change to adapt to that.\n\nSigned-off-by: eric miao \u003ceric.y.miao@gmail.com\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "606d099cdd1080bbb50ea50dc52d98252f8f10a1",
      "tree": "80d17450a5fb78effce3f4312f672c058658e004",
      "parents": [
        "edc6afc5496875a640bef0913604be7550c1795d"
      ],
      "author": {
        "name": "Alan Cox",
        "email": "alan@lxorguk.ukuu.org.uk",
        "time": "Fri Dec 08 02:38:45 2006 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.osdl.org",
        "time": "Fri Dec 08 08:28:57 2006 -0800"
      },
      "message": "[PATCH] tty: switch to ktermios\n\nThis is the grungy swap all the occurrences in the right places patch that\ngoes with the updates.  At this point we have the same functionality as\nbefore (except that sgttyb() returns speeds not zero) and are ready to\nbegin turning new stuff on providing nobody reports lots of bugs\n\nIf you are a tty driver author converting an out of tree driver the only\nimpact should be termios-\u003ektermios name changes for the speed/property\nsetting functions from your upper layers.\n\nIf you are implementing your own TCGETS function before then your driver\nwas broken already and its about to get a whole lot more painful for you so\nplease fix it 8)\n\nAlso fill in c_ispeed/ospeed on init for most devices, although the current\ncode will do this for you anyway but I\u0027d like eventually to lose that extra\nparanoia\n\n[akpm@osdl.org: bluetooth fix]\n[mp3@de.ibm.com: sclp fix]\n[mp3@de.ibm.com: warning fix for tty3270]\n[hugh@veritas.com: fix tty_ioctl powerpc build]\n[jdike@addtoit.com: uml: fix -\u003eset_termios declaration]\nSigned-off-by: Alan Cox \u003calan@redhat.com\u003e\nSigned-off-by: Martin Peschke \u003cmp3@de.ibm.com\u003e\nAcked-by: Peter Oberparleiter \u003coberpar@de.ibm.com\u003e\nCc: Cornelia Huck \u003ccornelia.huck@de.ibm.com\u003e\nSigned-off-by: Hugh Dickins \u003chugh@veritas.com\u003e\nSigned-off-by: Jeff Dike \u003cjdike@addtoit.com\u003e\nCc: Paolo \u0027Blaisorblade\u0027 Giarrusso \u003cblaisorblade@yahoo.it\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n"
    },
    {
      "commit": "c7bec5aba52392aa8d675b8722735caf4a8b7265",
      "tree": "8087cfd2866e63fba25e18ba1fa0f374c27be4f0",
      "parents": [
        "c31f28e778ab299a5035ea2bda64f245b8915d7c"
      ],
      "author": {
        "name": "Jeff Garzik",
        "email": "jeff@garzik.org",
        "time": "Fri Oct 06 15:00:58 2006 -0400"
      },
      "committer": {
        "name": "Jeff Garzik",
        "email": "jeff@garzik.org",
        "time": "Fri Oct 06 15:00:58 2006 -0400"
      },
      "message": "Various drivers\u0027 irq handlers: kill dead code, needless casts\n\n- Eliminate casts to/from void*\n\n- Eliminate checks for conditions that never occur.  These typically\n  fall into two classes:\n\n\t1) Checking for \u0027dev_id \u003d\u003d NULL\u0027, then it is never called with\n\tNULL as an argument.\n\n\t2) Checking for invalid irq number, when the only caller (the\n\tsystem) guarantees the irq handler is called with the proper\n\t\u0027irq\u0027 number argument.\n\nSigned-off-by: Jeff Garzik \u003cjeff@garzik.org\u003e\n"
    },
    {
      "commit": "7d12e780e003f93433d49ce78cfedf4b4c52adc5",
      "tree": "6748550400445c11a306b132009f3001e3525df8",
      "parents": [
        "da482792a6d1a3fbaaa25fae867b343fb4db3246"
      ],
      "author": {
        "name": "David Howells",
        "email": "dhowells@redhat.com",
        "time": "Thu Oct 05 14:55:46 2006 +0100"
      },
      "committer": {
        "name": "David Howells",
        "email": "dhowells@warthog.cambridge.redhat.com",
        "time": "Thu Oct 05 15:10:12 2006 +0100"
      },
      "message": "IRQ: Maintain regs pointer globally rather than passing to IRQ handlers\n\nMaintain a per-CPU global \"struct pt_regs *\" variable which can be used instead\nof passing regs around manually through all ~1800 interrupt handlers in the\nLinux kernel.\n\nThe regs pointer is used in few places, but it potentially costs both stack\nspace and code to pass it around.  On the FRV arch, removing the regs parameter\nfrom all the genirq function results in a 20% speed up of the IRQ exit path\n(ie: from leaving timer_interrupt() to leaving do_IRQ()).\n\nWhere appropriate, an arch may override the generic storage facility and do\nsomething different with the variable.  On FRV, for instance, the address is\nmaintained in GR28 at all times inside the kernel as part of general exception\nhandling.\n\nHaving looked over the code, it appears that the parameter may be handed down\nthrough up to twenty or so layers of functions.  Consider a USB character\ndevice attached to a USB hub, attached to a USB controller that posts its\ninterrupts through a cascaded auxiliary interrupt controller.  A character\ndevice driver may want to pass regs to the sysrq handler through the input\nlayer which adds another few layers of parameter passing.\n\nI\u0027ve build this code with allyesconfig for x86_64 and i386.  I\u0027ve runtested the\nmain part of the code on FRV and i386, though I can\u0027t test most of the drivers.\nI\u0027ve also done partial conversion for powerpc and MIPS - these at least compile\nwith minimal configurations.\n\nThis will affect all archs.  Mostly the changes should be relatively easy.\nTake do_IRQ(), store the regs pointer at the beginning, saving the old one:\n\n\tstruct pt_regs *old_regs \u003d set_irq_regs(regs);\n\nAnd put the old one back at the end:\n\n\tset_irq_regs(old_regs);\n\nDon\u0027t pass regs through to generic_handle_irq() or __do_IRQ().\n\nIn timer_interrupt(), this sort of change will be necessary:\n\n\t-\tupdate_process_times(user_mode(regs));\n\t-\tprofile_tick(CPU_PROFILING, regs);\n\t+\tupdate_process_times(user_mode(get_irq_regs()));\n\t+\tprofile_tick(CPU_PROFILING);\n\nI\u0027d like to move update_process_times()\u0027s use of get_irq_regs() into itself,\nexcept that i386, alone of the archs, uses something other than user_mode().\n\nSome notes on the interrupt handling in the drivers:\n\n (*) input_dev() is now gone entirely.  The regs pointer is no longer stored in\n     the input_dev struct.\n\n (*) finish_unlinks() in drivers/usb/host/ohci-q.c needs checking.  It does\n     something different depending on whether it\u0027s been supplied with a regs\n     pointer or not.\n\n (*) Various IRQ handler function pointers have been moved to type\n     irq_handler_t.\n\nSigned-Off-By: David Howells \u003cdhowells@redhat.com\u003e\n(cherry picked from 1b16e7ac850969f38b375e511e3fa2f474a33867 commit)\n"
    },
    {
      "commit": "6ab3d5624e172c553004ecc862bfeac16d9d68b7",
      "tree": "6d98881fe91fd9583c109208d5c27131b93fa248",
      "parents": [
        "e02169b682bc448ccdc819dc8639ed34a23cedd8"
      ],
      "author": {
        "name": "Jörn Engel",
        "email": "joern@wohnheim.fh-wedel.de",
        "time": "Fri Jun 30 19:25:36 2006 +0200"
      },
      "committer": {
        "name": "Adrian Bunk",
        "email": "bunk@stusta.de",
        "time": "Fri Jun 30 19:25:36 2006 +0200"
      },
      "message": "Remove obsolete #include \u003clinux/config.h\u003e\n\nSigned-off-by: Jörn Engel \u003cjoern@wohnheim.fh-wedel.de\u003e\nSigned-off-by: Adrian Bunk \u003cbunk@stusta.de\u003e\n"
    },
    {
      "commit": "80f7228b59e4bbe9d840af3ff0f2fe480d6e7c79",
      "tree": "08e6d2365abeafd7bfcc0fd7485db9055463d72c",
      "parents": [
        "47bdd718c6547d84c8e140cd0f495c016f13b08b"
      ],
      "author": {
        "name": "Adrian Bunk",
        "email": "bunk@stusta.de",
        "time": "Fri Jun 30 18:27:16 2006 +0200"
      },
      "committer": {
        "name": "Adrian Bunk",
        "email": "bunk@stusta.de",
        "time": "Fri Jun 30 18:27:16 2006 +0200"
      },
      "message": "typo fixes: occuring -\u003e occurring\n\nSigned-off-by: Adrian Bunk \u003cbunk@stusta.de\u003e\n"
    },
    {
      "commit": "aa4148cfc7b3b93eeaf755a7d14f10afaffe9a96",
      "tree": "7f1c84f3cf7c0c79ccdb94a62a3543ee19e5edc2",
      "parents": [
        "bdaf8529385d5126ef791e8f1914afff8cd59bcf"
      ],
      "author": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Mon Jun 20 21:15:16 2005 -0700"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Mon Jun 26 12:25:05 2006 -0700"
      },
      "message": "[PATCH] devfs: Remove devfs support from the serial subsystem\n\nAlso fixes all serial drivers.\n\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "005b5e4d0c7795d2ec298c34c96cbe2c1e1902b0",
      "tree": "cb2efd2684f74cfaa5f354f34acb77a13ee01811",
      "parents": [
        "8b76a68c6caafef5a91cdc80958aecaca76a8896"
      ],
      "author": {
        "name": "Uli Luckas",
        "email": "u.luckas@road-gmbh.de",
        "time": "Thu Jun 22 16:49:54 2006 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Thu Jun 22 16:49:54 2006 +0100"
      },
      "message": "[ARM] 3624/1: Report true modem control line states\n\nPatch from Uli Luckas\n\nThis patch removes the fake return from serial_pxa_get_mctrl.\n\nSigned-off-by: Uli Luckas \u003cu.luckas@road-gmbh.de\u003e\nI just can\u0027t remember why this return was there.\nBeing in the first column clearly indicates it was meant to be removed.\n\nSigned-off-by: Nicolas Pitre \u003cnico@cam.org\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "d358788f3f30113e49882187d794832905e42592",
      "tree": "8c796ee4bf719dad4d3947c03cef2f3fd6cb5940",
      "parents": [
        "7705a8792b0fc82fd7d4dd923724606bbfd9fb20"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Mon Mar 20 20:00:09 2006 +0000"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Mon Mar 20 20:00:09 2006 +0000"
      },
      "message": "[SERIAL] kernel console should send CRLF not LFCR\n\nGlen Turner reported that writing LFCR rather than the more\ntraditional CRLF causes issues with some terminals.\n\nSince this aflicts many serial drivers, extract the common code\nto a library function (uart_console_write) and arrange for each\ndriver to supply a \"putchar\" function.\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "33f0f88f1c51ae5c2d593d26960c760ea154c2e2",
      "tree": "f53a38cf49406863f079d74d0e8f91b276f7c1a9",
      "parents": [
        "6ed80991a2dce4afc113be35089c564d62fa1f11"
      ],
      "author": {
        "name": "Alan Cox",
        "email": "alan@lxorguk.ukuu.org.uk",
        "time": "Mon Jan 09 20:54:13 2006 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@g5.osdl.org",
        "time": "Tue Jan 10 08:01:59 2006 -0800"
      },
      "message": "[PATCH] TTY layer buffering revamp\n\nThe API and code have been through various bits of initial review by\nserial driver people but they definitely need to live somewhere for a\nwhile so the unconverted drivers can get knocked into shape, existing\ndrivers that have been updated can be better tuned and bugs whacked out.\n\nThis replaces the tty flip buffers with kmalloc objects in rings. In the\nnormal situation for an IRQ driven serial port at typical speeds the\nbehaviour is pretty much the same, two buffers end up allocated and the\nkernel cycles between them as before.\n\nWhen there are delays or at high speed we now behave far better as the\nbuffer pool can grow a bit rather than lose characters. This also means\nthat we can operate at higher speeds reliably.\n\nFor drivers that receive characters in blocks (DMA based, USB and\nespecially virtualisation) the layer allows a lot of driver specific\ncode that works around the tty layer with private secondary queues to be\nremoved. The IBM folks need this sort of layer, the smart serial port\npeople do, the virtualisers do (because a virtualised tty typically\noperates at infinite speed rather than emulating 9600 baud).\n\nFinally many drivers had invalid and unsafe attempts to avoid buffer\noverflows by directly invoking tty methods extracted out of the innards\nof work queue structs. These are no longer needed and all go away. That\nfixes various random hangs with serial ports on overflow.\n\nThe other change in here is to optimise the receive_room path that is\nused by some callers. It turns out that only one ldisc uses receive room\nexcept asa constant and it updates it far far less than the value is\nread. We thus make it a variable not a function call.\n\nI expect the code to contain bugs due to the size alone but I\u0027ll be\nwatching and squashing them and feeding out new patches as it goes.\n\nBecause the buffers now dynamically expand you should only run out of\nbuffering when the kernel runs out of memory for real.  That means a lot of\nthe horrible hacks high performance drivers used to do just aren\u0027t needed any\nmore.\n\nDescription:\n\ntty_insert_flip_char is an old API and continues to work as before, as does\ntty_flip_buffer_push() [this is why many drivers dont need modification].  It\ndoes now also return the number of chars inserted\n\nThere are also\n\ntty_buffer_request_room(tty, len)\n\nwhich asks for a buffer block of the length requested and returns the space\nfound.  This improves efficiency with hardware that knows how much to\ntransfer.\n\nand tty_insert_flip_string_flags(tty, str, flags, len)\n\nto insert a string of characters and flags\n\nFor a smart interface the usual code is\n\n    len \u003d tty_request_buffer_room(tty, amount_hardware_says);\n    tty_insert_flip_string(tty, buffer_from_card, len);\n\nMore description!\n\nAt the moment tty buffers are attached directly to the tty.  This is causing a\nlot of the problems related to tty layer locking, also problems at high speed\nand also with bursty data (such as occurs in virtualised environments)\n\nI\u0027m working on ripping out the flip buffers and replacing them with a pool of\ndynamically allocated buffers.  This allows both for old style \"byte I/O\"\ndevices and also helps virtualisation and smart devices where large blocks of\ndata suddenely materialise and need storing.\n\nSo far so good.  Lots of drivers reference tty-\u003eflip.*.  Several of them also\ncall directly and unsafely into function pointers it provides.  This will all\nbreak.  Most drivers can use tty_insert_flip_char which can be kept as an API\nbut others need more.\n\nAt the moment I\u0027ve added the following interfaces, if people think more will\nbe needed now is a good time to say\n\n int tty_buffer_request_room(tty, size)\n\nTry and ensure at least size bytes are available, returns actual room (may be\nzero).  At the moment it just uses the flipbuf space but that will change.\nRepeated calls without characters being added are not cumulative.  (ie if you\ncall it with 1, 1, 1, and then 4 you\u0027ll have four characters of space.  The\nother functions will also try and grow buffers in future but this will be a\nmore efficient way when you know block sizes.\n\n int tty_insert_flip_char(tty, ch, flag)\n\nAs before insert a character if there is room.  Now returns 1 for success, 0\nfor failure.\n\n int tty_insert_flip_string(tty, str, len)\n\nInsert a block of non error characters.  Returns the number inserted.\n\n int tty_prepare_flip_string(tty, strptr, len)\n\nAdjust the buffer to allow len characters to be added.  Returns a buffer\npointer in strptr and the length available.  This allows for hardware that\nneeds to use functions like insl or mencpy_fromio.\n\nSigned-off-by: Alan Cox \u003calan@redhat.com\u003e\nCc: Paul Fulghum \u003cpaulkf@microgate.com\u003e\nSigned-off-by: Hirokazu Takata \u003ctakata@linux-m32r.org\u003e\nSigned-off-by: Serge Hallyn \u003cserue@us.ibm.com\u003e\nSigned-off-by: Jeff Dike \u003cjdike@addtoit.com\u003e\nSigned-off-by: John Hawkes \u003chawkes@sgi.com\u003e\nSigned-off-by: Martin Schwidefsky \u003cschwidefsky@de.ibm.com\u003e\nSigned-off-by: Adrian Bunk \u003cbunk@stusta.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n"
    },
    {
      "commit": "f02aa3f9a3dea4375759ae1d87bebf2467719b72",
      "tree": "8300a735ff96bc107e05df334a8fd05a951c94fe",
      "parents": [
        "9e625ff8a37aefcc177b19614ffcffb5bc6eeea1"
      ],
      "author": {
        "name": "Erik Hovland",
        "email": "erik@hovland.org",
        "time": "Fri Dec 30 15:57:35 2005 +0000"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Fri Dec 30 15:57:35 2005 +0000"
      },
      "message": "[ARM] 3216/1: indent and typo in drivers/serial/pxa.c\n\nPatch from Erik Hovland\n\nThis patch provides two changes. An indent is supplied for an if/else clause so that it is more readable. An acronym is incorrectly typed as UER when it should be IER.\n\nSigned-off-by: Erik Hovland \u003cerik@hovland.org\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "3ae5eaec1d2d9c0cf53745352e7d4b152810ba24",
      "tree": "d8825be54cefb6ad6707478d719c8e30605bee7b",
      "parents": [
        "00d3dcdd96646be6059cc21f2efa94c4edc1eda5"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Wed Nov 09 22:32:44 2005 +0000"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Wed Nov 09 22:32:44 2005 +0000"
      },
      "message": "[DRIVER MODEL] Convert platform drivers to use struct platform_driver\n\nThis allows us to eliminate the casts in the drivers, and eventually\nremove the use of the device_driver function pointer methods for\nplatform device drivers.\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\nAcked-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "d052d1beff706920e82c5d55006b08e256b5df09",
      "tree": "dac91b70361b405ab8e15207f514a2f3e991e93d",
      "parents": [
        "8a212ab6b8a4ccc6f3c3d1beba5f92655c576404"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Sat Oct 29 19:07:23 2005 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Sat Oct 29 19:07:23 2005 +0100"
      },
      "message": "Create platform_device.h to contain all the platform device details.\nConvert everyone who uses platform_bus_type to include\nlinux/platform_device.h.\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\nAcked-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "6fbfddcb52d8d9fa2cd209f5ac2a1c87497d55b5",
      "tree": "c0414e89678fcef7ce3493e048d855bde781ae8d",
      "parents": [
        "1a222bca26ca691e83be1b08f5e96ae96d0d8cae",
        "27d1097d39509494706eaa2620ef3b1e780a3224"
      ],
      "author": {
        "name": "Greg KH",
        "email": "greg@press.(none)",
        "time": "Fri Oct 28 10:13:16 2005 -0700"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Oct 28 10:13:16 2005 -0700"
      },
      "message": "Merge ../bleed-2.6\n"
    },
    {
      "commit": "9480e307cd88ef09ec9294c7d97ebec18e6d2221",
      "tree": "967e26d3a23c24dd52b114d672312c207714308c",
      "parents": [
        "a3a3395e487abc4c1371fe319a8ecbb3913a70a4"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@arm.linux.org.uk",
        "time": "Fri Oct 28 09:52:56 2005 -0700"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Oct 28 09:52:56 2005 -0700"
      },
      "message": "[PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks\n\nIn PM v1, all devices were called at SUSPEND_DISABLE level.  Then\nall devices were called at SUSPEND_SAVE_STATE level, and finally\nSUSPEND_POWER_DOWN level.  However, with PM v2, to maintain\ncompatibility for platform devices, I arranged for the PM v2\nsuspend/resume callbacks to call the old PM v1 suspend/resume\ncallbacks three times with each level in order so that existing\ndrivers continued to work.\n\nSince this is obsolete infrastructure which is no longer necessary,\nwe can remove it.  Here\u0027s an (untested) patch to do exactly that.\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "d9e29649875df82828167dd45c802d942db863ba",
      "tree": "8ce0d5d46bde4a92e212aabe18a3a86f508c8fd4",
      "parents": [
        "80a18573cea2e6d8e95abe4d42bfc5f97761999a"
      ],
      "author": {
        "name": "Matt Reimer",
        "email": "mreimer@vpop.net",
        "time": "Fri Oct 28 16:25:02 2005 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Fri Oct 28 16:25:02 2005 +0100"
      },
      "message": "[ARM] 3029/1: Add HWUART support for PXA 255/26x\n\nPatch from Matt Reimer\n\nAdds support for HWUART on PXA 255 / 26x. This patch originally came from\nhttp://svn.rungie.com/svn/gumstix-buildroot/trunk/sources/kernel-patches/000-gumstix-hwuart.patch\nand has been tweaked by me.\n\nSigned-off-by: Matt Reimer \u003cmreimer@vpop.net\u003e\nSigned-off-by: Nicolas Pitre \u003cnico@cam.org\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "e6158b4a5647624ceb90074bfcc248ea3152c906",
      "tree": "1f8da50d47f8d4b5dd27b06fa694fb48e38162bb",
      "parents": [
        "6ec5e7f3656f0397b7e8b39a7dcc77937d187596"
      ],
      "author": {
        "name": "Lothar Wassmann",
        "email": "LW@KARO-electronics.de",
        "time": "Wed Oct 12 19:58:11 2005 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Wed Oct 12 19:58:11 2005 +0100"
      },
      "message": "[ARM] 3002/1: Wrong parameter to uart_update_timeout() in drivers/serial/pxa.c\n\nPatch from Lothar Wassmann\n\nThe function serial_pxa_set_termios() is calling uart_update_timeout()\nwith the baud rate divisor as third parameter, while\nuart_update_timeout() expects the baud rate in this place.\nThis results in a bogus port-\u003etimeout which is proportional to the\nbaud rate.\n\nSigned-off-by: Lothar Wassmann \u003cLW@KARO-electronics.de\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "2d93486c6c110cf81db720359b4ec20de9c91450",
      "tree": "e87dd8ade5255d624e9e49d941d365f964bef07b",
      "parents": [
        "d8ac10639b6a1ed900efbee38c18baaca31e64dc"
      ],
      "author": {
        "name": "Vincent Sanders",
        "email": "vince@kyllikki.org",
        "time": "Wed Sep 14 22:36:03 2005 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Wed Sep 14 22:36:03 2005 +0100"
      },
      "message": "[ARM] 2907/1: GCC 4 serial driver compile fixes\n\nPatch from Vincent Sanders\n\nWhen building the ARM platforms several serial drivers fail to compile\nwith GCC 4.01 due to extern/static ambiguity.\n\nSigned-off-by: Vincent Sanders \u003cvince@arm.linux.org.uk\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "b129a8ccd53f74c43e4c83c8e0031a4990040830",
      "tree": "4c40afd836be87166d6d014380262f1baa19694f",
      "parents": [
        "6b39374a27eb4be7e9d82145ae270ba02ea90dc8",
        "194d0710e1a7fe92dcf860ddd31fded8c3103b7a"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Wed Aug 31 10:12:14 2005 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Wed Aug 31 10:12:14 2005 +0100"
      },
      "message": "[SERIAL] Clean up and fix tty transmission start/stoping\n\nThe start_tx and stop_tx methods were passed a flag to indicate\nwhether the start/stop was from the tty start/stop callbacks, and\nsome drivers used this flag to decide whether to ask the UART to\nimmediately stop transmission (where the UART supports such a\nfeature.)\n\nThere are other cases when we wish this to occur - when CTS is\nlowered, or if we change from soft to hard flow control and CTS\nis inactive.  In these cases, this flag was false, and we would\nallow the transmitter to drain before stopping.\n\nThere is really only one case where we want to let the transmitter\ndrain before disabling, and that\u0027s when we run out of characters\nto send.\n\nHence, re-jig the start_tx and stop_tx methods to eliminate this\nflag, and introduce new functions for the special \"disable and\nallow transmitter to drain\" case.\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "c5f4644e6c8ba21666128603e4e92544d3cd740d",
      "tree": "1a8b4c730ca575d4b1118af174b070764803fb2c",
      "parents": [
        "a839688362e32f01608838516036697e30618b39"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Wed Jun 29 09:42:38 2005 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Wed Jun 29 09:42:38 2005 +0100"
      },
      "message": "[PATCH] Serial: Adjust serial locking\n\nThis patch changes the way serial ports are locked when getting modem\nstatus.  This change is necessary because we will need to atomically\nread the modem status and take action depending on the CTS status.\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "0a8b80c52f44a6e84206618a8a450ba13a5809dc",
      "tree": "0ac9a71b3820e6d5876266aa50fa55abcfc5bf5d",
      "parents": [
        "59a49e38711a146dc0bef4837c825b5422335460"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Fri Jun 24 19:48:22 2005 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk+kernel@arm.linux.org.uk",
        "time": "Fri Jun 24 19:48:22 2005 +0100"
      },
      "message": "[PATCH] Serial: Eliminate magic numbers\n\nUse the existing macros instead.\n\nSigned-off-by: Yoichi Yuasa \u003cyuasa@hh.iij4u.or.jp\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "05ab3014636ff60a319d37cdf37dca594b015eec",
      "tree": "d9d948a5ecd5e10cd511ebca328df2ef08d5e076",
      "parents": [
        "88d7bd8cb9eb8d64bf7997600b0d64f7834047c5"
      ],
      "author": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Mon May 09 23:21:59 2005 +0100"
      },
      "committer": {
        "name": "Russell King",
        "email": "rmk@dyn-67.arm.linux.org.uk",
        "time": "Mon May 09 23:21:59 2005 +0100"
      },
      "message": "[PATCH] Serial: Add uart_insert_char()\n\nAdd uart_insert_char(), which handles inserting characters into the\nflip buffer.  This helper function handles the correct semantics\nfor handling overrun in addition to inserting normal characters.\n\nSigned-off-by: Russell King \u003crmk@arm.linux.org.uk\u003e\n"
    },
    {
      "commit": "0370affeec3e751412e917aab931d8ba52680578",
      "tree": "da7698bc4130e252372d56b7e251453d1eccefe3",
      "parents": [
        "a4ffad5b77f17bd8ad2a220d6eb0278bc07a5a17"
      ],
      "author": {
        "name": "Pavel Machek",
        "email": "pavel@ucw.cz",
        "time": "Sat Apr 16 15:25:35 2005 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@ppc970.osdl.org",
        "time": "Sat Apr 16 15:25:35 2005 -0700"
      },
      "message": "[PATCH] fix u32 vs. pm_message_t in drivers/\n\n-rc2-mm1 still contains few places where u32 and pm_message_t.  This fixes\ndrivers/serial [should change no code].\n\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n"
    },
    {
      "commit": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
      "tree": "0bba044c4ce775e45a88a51686b5d9f90697ea9d",
      "parents": [],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@ppc970.osdl.org",
        "time": "Sat Apr 16 15:20:36 2005 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@ppc970.osdl.org",
        "time": "Sat Apr 16 15:20:36 2005 -0700"
      },
      "message": "Linux-2.6.12-rc2\n\nInitial git repository build. I\u0027m not bothering with the full history,\neven though we have it. We can create a separate \"historical\" git\narchive of that later if we want to, and in the meantime it\u0027s about\n3.2GB when imported into git - space that would just make the early\ngit days unnecessarily complicated, when we don\u0027t have a lot of good\ninfrastructure for it.\n\nLet it rip!\n"
    }
  ]
}
