GitHub PushEvent at 2014-08-19 23:40:16
Repository: android_kernel_htc_ruby
Actor: JoseGalRe
Payload: {"shas":[["23643c00e5d692fa53fc7630931e6694b02f27ef","4ed386e0495d3e109932df055831d9ec2f824927@mit.edu","jbd2: fix theoretical race in jbd2__journal_restart\n\ncommit 39c04153fda8c32e85b51c96eb5511a326ad7609 upstream.\n\nOnce we decrement transaction->t_updates, if this is the last handle\nholding the transaction from closing, and once we release the\nt_handle_lock spinlock, it's possible for the transaction to commit\nand be released.  In practice with normal kernels, this probably won't\nhappen, since the commit happens in a separate kernel thread and it's\nunlikely this could all happen within the space of a few CPU cycles.\n\nOn the other hand, with a real-time kernel, this could potentially\nhappen, so save the tid found in transaction->t_tid before we release\nt_handle_lock.  It would require an insane configuration, such as one\nwhere the jbd2 thread was set to a very high real-time priority,\nperhaps because a high priority real-time thread is trying to read or\nwrite to a file system.  But some people who use real-time kernels\nhave been known to do insane things, including controlling\nlaser-wielding industrial robots.  :-)\n\nSigned-off-by: \"Theodore Ts'o\" <tytso@mit.edu>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Theodore Ts'o",false],["791750989d8eba46434f2c0b02154ace47be6c8e","de609eb4d5d70b1d38ec6642adbfc33a2781f63c@ZenIV.linux.org.uk","ext3,ext4: don't mess with dir_file->f_pos in htree_dirblock_to_tree()\n\ncommit 64cb927371cd2ec43758d8a094a003d27bc3d0dc upstream.\n\nBoth ext3 and ext4 htree_dirblock_to_tree() is just filling the\nin-core rbtree for use by call_filldir().  All updates of ->f_pos are\ndone by the latter; bumping it here (on error) is obviously wrong - we\nmight very well have it nowhere near the block we'd found an error in.\n\nSigned-off-by: Al Viro <viro@zeniv.linux.org.uk>\nSigned-off-by: \"Theodore Ts'o\" <tytso@mit.edu>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Al Viro",false],["4a5152cd2778b10414d2184b6d31c71a1e068e97","aeade43d0f8ae14e7c44fa81fe17c1635ae376fe@redhat.com","USB: option,qcserial: move Novatel Gobi1K IDs to qcserial\n\ncommit a254810a86aaaac4ac6ba44fa934558b042a17a7 upstream.\n\nThese devices are all Gobi1K devices (according to the Windows INF\nfiles) and should be handled by qcserial instead of option.  Their\nnetwork port is handled by qmi_wwan.\n\nSigned-off-by: Dan Williams <dcbw@redhat.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Dan Williams",false],["fad6ba80759e3efa6e0a7a1463cf3e506f53b85f","c710efd5352cf831dc5ec055dc9268229ad9c0fc@toshiba.co.jp","usb: gadget: f_mass_storage: add missing memory barrier for thread_wakeup_needed\n\ncommit d68c277b501889b3a50c179d1c3d704db7947b83 upstream.\n\nWithout this memory barrier, the file-storage thread may fail to\nescape from the following while loop, because it may observe new\ncommon->thread_wakeup_needed and old bh->state which are updated by\nthe callback functions.\n\n\t/* Wait for the CBW to arrive */\n\twhile (bh->state != BUF_STATE_FULL) {\n\t\trc = sleep_thread(common);\n\t\tif (rc)\n\t\t\treturn rc;\n\t}\n\nSigned-off-by: UCHINO Satoshi <satoshi.uchino@toshiba.co.jp>\nAcked-by: Michal Nazarewicz <mina86@mina86.com>\nSigned-off-by: Felipe Balbi <balbi@ti.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","UCHINO Satoshi",false],["281eb7655ac766335f8fe47da6695e538dc063df","2d4473c5e67eb83655334d4e9a7757f781607241@linux.intel.com","xhci: check for failed dma pool allocation\n\ncommit 025f880cb2e4d7218d0422d4b07bea1a68959c38 upstream.\n\nFail and free the container context in case dma_pool_alloc() can't allocate\nthe raw context data part of it\n\nThis patch should be backported to kernels as old as 2.6.31, that\ncontain the commit d115b04818e57bdbc7ccde4d0660b15e33013dc8 \"USB: xhci:\nSupport for 64-byte contexts\".\n\nSigned-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>\nSigned-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>\nCc: John Youn <johnyoun@synopsys.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Mathias Nyman",false],["cf1febd5483958b2826de88f321df3f5856ed547","6f54d78a4cd927eb19dd17c34117bfc80f7abcf7@gmail.com","pcmcia: at91_cf: fix gpio_get_value in at91_cf_get_status\n\ncommit e39506b466edcda2a7e9d0174d7987ae654137b7 upstream.\n\nCommit 80af9e6d (pcmcia at91_cf: fix raw gpio number usage) forgot\nto change the parameter in gpio_get_value after adding gpio\nvalidation.\n\nSigned-off-by: Joachim Eastwood <manabian@gmail.com>\nSigned-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>\nAcked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Joachim Eastwood",false],["a55f7be46db3b6cdeb23d99bbd915aa285521de2","7437296077edea1cb64451c122c4dac071f0cfbc@redhat.com","xen/time: remove blocked time accounting from xen \"clockchip\"\n\ncommit 0b0c002c340e78173789f8afaa508070d838cf3d upstream.\n\n... because the \"clock_event_device framework\" already accounts for idle\ntime through the \"event_handler\" function pointer in\nxen_timer_interrupt().\n\nThe patch is intended as the completion of [1]. It should fix the double\nidle times seen in PV guests' /proc/stat [2]. It should be orthogonal to\nstolen time accounting (the removed code seems to be isolated).\n\nThe approach may be completely misguided.\n\n[1] https://lkml.org/lkml/2011/10/6/10\n[2] http://lists.xensource.com/archives/html/xen-devel/2010-08/msg01068.html\n\nJohn took the time to retest this patch on top of v3.10 and reported:\n\"idle time is correctly incremented for pv and hvm for the normal\ncase, nohz=off and nohz=idle.\" so lets put this patch in.\n\nSigned-off-by: Laszlo Ersek <lersek@redhat.com>\nSigned-off-by: John Haxby <john.haxby@oracle.com>\nSigned-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Laszlo Ersek",false],["0b9ad5b23c1f4b9443e77c7a12f2cc5720218198","73675debcd8a436be48ec22211dcf44fe0df0a64@decadent.org.uk","genirq: Fix can_request_irq() for IRQs without an action\n\ncommit 2779db8d37d4b542d9ca2575f5f178dbeaca6c86 upstream.\n\nCommit 02725e7471b8 ('genirq: Use irq_get/put functions'),\ninadvertently changed can_request_irq() to return 0 for IRQs that have\nno action.  This causes pcibios_lookup_irq() to select only IRQs that\nalready have an action with IRQF_SHARED set, or to fail if there are\nnone.  Change can_request_irq() to return 1 for IRQs that have no\naction (if the first two conditions are met).\n\nReported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>\nTested-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> (against 3.2)\nSigned-off-by: Ben Hutchings <ben@decadent.org.uk>\nCc: 709647@bugs.debian.org\nLink: http://bugs.debian.org/709647\nLink: http://lkml.kernel.org/r/1372383630.23847.40.camel@deadeye.wl.decadent.org.uk\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Ben Hutchings",false],["1cb58457fa8a025e39363ef8496279a30c75f280","b6ffd6973e972cb999e8e535ab74da7fee0c035f@ingics.com","drivers/rtc/rtc-rv3029c2.c: fix disabling AIE irq\n\ncommit 29ecd78c0fd6ee05f2c6b07b23823a6ae43c13ff upstream.\n\nIn the disable AIE irq code path, current code passes \"1\" to enable\nparameter of rv3029c2_rtc_i2c_alarm_set_irq().  Thus it does not disable\nAIE irq.\n\nSigned-off-by: Axel Lin <axel.lin@ingics.com>\nAcked-by: Heiko Schocher <hs@denx.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Axel Lin",false],["16bfeaafd474e38a6b19b2f76ef4d665f9b1b0f9","4221d0916eb5c472a0ab46f0107445bbb3e8a589@intel.com","ACPI / EC: Add HP Folio 13 to ec_dmi_table in order to skip DSDT scan\n\ncommit eff9a4b62b14cf0d9913e3caf1f26f8b7a6105c9 upstream.\n\nHP Folio 13's BIOS defines CMOS RTC Operation Region and the EC's\n_REG method will access that region.  To allow the CMOS RTC region\nhandler to be installed before the EC _REG method is first invoked,\nadd ec_skip_dsdt_scan() as HP Folio 13's callback to ec_dmi_table.\n\nReferences: https://bugzilla.kernel.org/show_bug.cgi?id=54621\nReported-and-tested-by: Stefan Nagy <public@stefan-nagy.at>\nSigned-off-by: Lan Tianyu <tianyu.lan@intel.com>\nSigned-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Lan Tianyu",false],["3a32958d2ac96070c53d04bd8e013c97b260b5e6","adb0658383f88ec6beb1fb7689ba0dac7c1c4882@oracle.com","ocfs2: xattr: fix inlined xattr reflink\n\ncommit ef962df057aaafd714f5c22ba3de1be459571fdf upstream.\n\nInlined xattr shared free space of inode block with inlined data or data\nextent record, so the size of the later two should be adjusted when\ninlined xattr is enabled.  See ocfs2_xattr_ibody_init().  But this isn't\ndone well when reflink.  For inode with inlined data, its max inlined\ndata size is adjusted in ocfs2_duplicate_inline_data(), no problem.  But\nfor inode with data extent record, its record count isn't adjusted.  Fix\nit, or data extent record and inlined xattr may overwrite each other,\nthen cause data corruption or xattr failure.\n\nOne panic caused by this bug in our test environment is the following:\n\n  kernel BUG at fs/ocfs2/xattr.c:1435!\n  invalid opcode: 0000 [#1] SMP\n  Pid: 10871, comm: multi_reflink_t Not tainted 2.6.39-300.17.1.el5uek #1\n  RIP: ocfs2_xa_offset_pointer+0x17/0x20 [ocfs2]\n  RSP: e02b:ffff88007a587948  EFLAGS: 00010283\n  RAX: 0000000000000000 RBX: 0000000000000010 RCX: 00000000000051e4\n  RDX: ffff880057092060 RSI: 0000000000000f80 RDI: ffff88007a587a68\n  RBP: ffff88007a587948 R08: 00000000000062f4 R09: 0000000000000000\n  R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000010\n  R13: ffff88007a587a68 R14: 0000000000000001 R15: ffff88007a587c68\n  FS:  00007fccff7f06e0(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000\n  CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b\n  CR2: 00000000015cf000 CR3: 000000007aa76000 CR4: 0000000000000660\n  DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\n  DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400\n  Process multi_reflink_t\n  Call Trace:\n    ocfs2_xa_reuse_entry+0x60/0x280 [ocfs2]\n    ocfs2_xa_prepare_entry+0x17e/0x2a0 [ocfs2]\n    ocfs2_xa_set+0xcc/0x250 [ocfs2]\n    ocfs2_xattr_ibody_set+0x98/0x230 [ocfs2]\n    __ocfs2_xattr_set_handle+0x4f/0x700 [ocfs2]\n    ocfs2_xattr_set+0x6c6/0x890 [ocfs2]\n    ocfs2_xattr_user_set+0x46/0x50 [ocfs2]\n    generic_setxattr+0x70/0x90\n    __vfs_setxattr_noperm+0x80/0x1a0\n    vfs_setxattr+0xa9/0xb0\n    setxattr+0xc3/0x120\n    sys_fsetxattr+0xa8/0xd0\n    system_call_fastpath+0x16/0x1b\n\nSigned-off-by: Junxiao Bi <junxiao.bi@oracle.com>\nReviewed-by: Jie Liu <jeff.liu@oracle.com>\nAcked-by: Joel Becker <jlbec@evilplan.org>\nCc: Mark Fasheh <mfasheh@suse.com>\nCc: Sunil Mushran <sunil.mushran@gmail.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Junxiao Bi",false],["5e9516f6d5f1f24e8b4f0327caf3d197400d3c1e","0fd8b63c0bc3cd1316c741cc665a7c4c0433c6d1@amd.com","ahci: Add AMD CZ SATA device ID\n\ncommit fafe5c3d82a470d73de53e6b08eb4e28d974d895 upstream.\n\nTo add AMD CZ SATA controller device ID of IDE mode.\n\n[bhelgaas: drop pci_ids.h update]\nSigned-off-by: Shane Huang <shane.huang@amd.com>\nSigned-off-by: Bjorn Helgaas <bhelgaas@google.com>\nReviewed-by: Tejun Heo <tj@kernel.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Shane Huang",false],["b53a038e4d4e68ebbee7eddbd9c8793d75c5fe3f","0fd8b63c0bc3cd1316c741cc665a7c4c0433c6d1@amd.com","ahci: remove pmp link online check in FBS EH\n\ncommit 912b9ac683b112615d5605686f1dc086402ce9f7 upstream.\n\nata_link_online() check in ahci_error_intr() is unnecessary, it should\nbe removed otherwise may lead to lockup with FBS enabled PMP.\nhttp://marc.info/?l=linux-ide&m=137050421603272&w=2\n\nReported-by: Yu Liu <liuyu.ac@gmail.com>\nSigned-off-by: Shane Huang <shane.huang@amd.com>\nSigned-off-by: Tejun Heo <tj@kernel.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Shane Huang",false],["7bcb3df9ab6ae35c239bb6fc051dd478ed47991e","28563a2d387a4f8f033bf7abbf80937064dfbe0c@gmail.com","timer: Fix jiffies wrap behavior of round_jiffies_common()\n\ncommit 9e04d3804d3ac97d8c03a41d78d0f0674b5d01e1 upstream.\n\nDirect compare of jiffies related values does not work in the wrap\naround case. Replace it with time_is_after_jiffies().\n\nSigned-off-by: Bart Van Assche <bvanassche@acm.org>\nCc: Arjan van de Ven <arjan@infradead.org>\nCc: Stephen Rothwell <sfr@canb.auug.org.au>\nLink: http://lkml.kernel.org/r/519BC066.5080600@acm.org\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Bart Van Assche",false],["d19c4370e3e590ed083c77238866719025476108","596727c8a0ea4db3ba2ceceedccbacd3d7b371b8@suse.cz","ext4: fix data offset overflow in ext4_xattr_fiemap() on 32-bit archs\n\ncommit a60697f411eb365fb09e639e6f183fe33d1eb796 upstream.\n\nOn 32-bit architectures with 32-bit sector_t computation of data offset\nin ext4_xattr_fiemap() can overflow resulting in reporting bogus data\nlocation. Fix the problem by typing block number to proper type before\nshifting.\n\nSigned-off-by: Jan Kara <jack@suse.cz>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Jan Kara",false],["4b9cf8edf9d6203e0ed7a38844f8c3c35b101a61","596727c8a0ea4db3ba2ceceedccbacd3d7b371b8@suse.cz","ext4: fix overflow when counting used blocks on 32-bit architectures\n\ncommit 8af8eecc1331dbf5e8c662022272cf667e213da5 upstream.\n\nThe arithmetics adding delalloc blocks to the number of used blocks in\next4_getattr() can easily overflow on 32-bit archs as we first multiply\nnumber of blocks by blocksize and then divide back by 512. Make the\narithmetics more clever and also use proper type (unsigned long long\ninstead of unsigned long).\n\nSigned-off-by: Jan Kara <jack@suse.cz>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Jan Kara",false],["cd8bca6fe4862f5af7244a5f5e4b08788ccaff11","41f0eec3c5997dc105ef7f480205639ce461e46a@mozilla.com","ARM: 7765/1: perf: Record the user-mode PC in the call chain.\n\ncommit c5f927a6f62196226915f12194c9d0df4e2210d7 upstream.\n\nWith this change, we no longer lose the innermost entry in the user-mode\npart of the call chain.  See also the x86 port, which includes the ip.\n\nIt's possible to partially work around this problem by post-processing\nthe data to use the PERF_SAMPLE_IP value, but this works only if the CPU\nwasn't in the kernel when the sample was taken.\n\nSigned-off-by: Jed Davis <jld@mozilla.com>\nSigned-off-by: Will Deacon <will.deacon@arm.com>\nSigned-off-by: Russell King <rmk+kernel@arm.linux.org.uk>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Jed Davis",false],["6fe0ab4d8e8b794e1d59ace3969ca8da259b25e3","24970bf3d8506c473367e9292a8e5eb43a40bda0@samsung.com","drivers/dma/pl330.c: fix locking in pl330_free_chan_resources()\n\ncommit da331ba8e9c5de72a27e50f71105395bba6eebe0 upstream.\n\ntasklet_kill() may sleep so call it before taking pch->lock.\n\nFixes following lockup:\n\n  BUG: scheduling while atomic: cat/2383/0x00000002\n  Modules linked in:\n    unwind_backtrace+0x0/0xfc\n    __schedule_bug+0x4c/0x58\n    __schedule+0x690/0x6e0\n    sys_sched_yield+0x70/0x78\n    tasklet_kill+0x34/0x8c\n    pl330_free_chan_resources+0x24/0x88\n    dma_chan_put+0x4c/0x50\n  [...]\n  BUG: spinlock lockup suspected on CPU#0, swapper/0/0\n   lock: 0xe52aa04c, .magic: dead4ead, .owner: cat/2383, .owner_cpu: 1\n    unwind_backtrace+0x0/0xfc\n    do_raw_spin_lock+0x194/0x204\n    _raw_spin_lock_irqsave+0x20/0x28\n    pl330_tasklet+0x2c/0x5a8\n    tasklet_action+0xfc/0x114\n    __do_softirq+0xe4/0x19c\n    irq_exit+0x98/0x9c\n    handle_IPI+0x124/0x16c\n    gic_handle_irq+0x64/0x68\n    __irq_svc+0x40/0x70\n    cpuidle_wrap_enter+0x4c/0xa0\n    cpuidle_enter_state+0x18/0x68\n    cpuidle_idle_call+0xac/0xe0\n    cpu_idle+0xac/0xf0\n\nSigned-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>\nSigned-off-by: Kyungmin Park <kyungmin.park@samsung.com>\nAcked-by: Jassi Brar <jassisinghbrar@gmail.com>\nCc: Vinod Koul <vinod.koul@linux.intel.com>\nCc: Tomasz Figa <t.figa@samsung.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Bartlomiej Zolnierkiewicz",false],["61bfa77de71ef9d84614d3a7f0a3ca1c7af82058","4645f7897fd33786a2ee1264d590b3c400559d85@linuxfoundation.org","Linux 3.0.87","Greg Kroah-Hartman",false],["c02a777e5cf9a90412aceb8c45f05a11e0ea6736","09a30daba3d3d83bb6f1ff1dc83d6c5584cabfb0@gmail.com","Merge tag 'v3.0.87' into cm-11.0","JoseGalRe",true]],"size":20,"ref":"refs/heads/cm-11.0-pmen","head":"c02a777e5cf9a90412aceb8c45f05a11e0ea6736"}