GitHub PushEvent at 2014-02-16 12:12:15
Repository: linux-socfpga
Actor: redrocketcomputing
Payload: {"shas":[["80d767d770fd9c697e434fd080c2db7b5c60c6dd","52f8f9962b7f38d8269c63c0859d68147c8d10f0@redhat.com","time: Fix overflow when HZ is smaller than 60\n\nWhen compiling for the IA-64 ski emulator, HZ is set to 32 because the\nemulation is slow and we don't want to waste too many cycles processing\ntimers. Alpha also has an option to set HZ to 32.\n\nThis causes integer underflow in\nkernel/time/jiffies.c:\nkernel/time/jiffies.c:66:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]\n  .mult  = NSEC_PER_JIFFY << JIFFIES_SHIFT, /* details above */\n  ^\n\nThis patch reduces the JIFFIES_SHIFT value to avoid the overflow.\n\nSigned-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>\nLink: http://lkml.kernel.org/r/alpine.LRH.2.02.1401241639100.23871@file01.intranet.prod.int.rdu2.redhat.com\nCc: stable@vger.kernel.org\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>","Mikulas Patocka",true],["ad037c1f4ae6f9258f27fddb679ceb703ff07a88","4c7dedd0ac44dc6f85716dd1f07f88440aa662c7@linaro.org","clocksource: Kona: Print warning rather than panic\n\nSince there may be other clocksources available, this driver should not\ntrigger a panic simply because it can not determine the frequency of an\nexternal clock.  This change refactors the driver to allow a warning to\nbe printed in this case instead.\n\nSigned-off-by: Tim Kryger <tim.kryger@linaro.org>\nReviewed-by: Markus Mayer <markus.mayer@linaro.org>\nReviewed-by: Matt Porter <matt.porter@linaro.org>\nCc: Christian Daudt <bcm@fixthebug.org>\nCc: Daniel Lezcano <daniel.lezcano@linaro.org>\nLink: http://lkml.kernel.org/r/1391559304-26558-1-git-send-email-tim.kryger@linaro.org\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>","Tim Kryger",true],["0668d3065128d39449c097e62dbdb5707820137d","010521127f513270fe503d86ab8316ac5147f4b7@codeaurora.org","genirq: Add devm_request_any_context_irq()\n\nSome drivers use request_any_context_irq() but there isn't a\ndevm_* function for it. Add one so that these drivers don't need\nto explicitly free the irq on driver detach.\n\nSigned-off-by: Stephen Boyd <sboyd@codeaurora.org>\nCc: linux-arm-kernel@lists.infradead.org\nCc: Dmitry Torokhov <dmitry.torokhov@gmail.com>\nLink: http://lkml.kernel.org/r/1388709460-19222-3-git-send-email-sboyd@codeaurora.org\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>","Stephen Boyd",true],["2c45aada341121438affc4cb8d5b4cfaa2813d3d","ae947f3c8df96e1dc851c5e3e5a930ce6d3f1f74@windriver.com","genirq: Add missing irq_to_desc export for CONFIG_SPARSE_IRQ=n\n\nIn allmodconfig builds for sparc and any other arch which does\nnot set CONFIG_SPARSE_IRQ, the following will be seen at modpost:\n\n  CC [M]  lib/cpu-notifier-error-inject.o\n  CC [M]  lib/pm-notifier-error-inject.o\nERROR: \"irq_to_desc\" [drivers/gpio/gpio-mcp23s08.ko] undefined!\nmake[2]: *** [__modpost] Error 1\n\nThis happens because commit 3911ff30f5 (\"genirq: export\nhandle_edge_irq() and irq_to_desc()\") added one export for it, but\nthere were actually two instances of it, in an if/else clause for\nCONFIG_SPARSE_IRQ.  Add the second one.\n\nSigned-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>\nCc: Jiri Kosina <jkosina@suse.cz>\nCc: stable@vger.kernel.org\t# 3.4+\nLink: http://lkml.kernel.org/r/1392057610-11514-1-git-send-email-paul.gortmaker@windriver.com\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>","Paul Gortmaker",true],["fc09149df6e20cfbb0bb86f10899607c321a31eb","978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","target: Fix free-after-use regression in PR unregister\n\nThis patch addresses a >= v3.11 free-after-use regression\nin core_scsi3_emulate_pro_register() that was introduced\nin the following commit:\n\ncommit bc118fe4c4a8cfa453491ba77c0a146a6d0e73e0\nAuthor: Andy Grover <agrover@redhat.com>\nDate:   Thu May 16 10:41:04 2013 -0700\n\n    target: Further refactoring of core_scsi3_emulate_pro_register()\n\nTo avoid the free-after-use, save an type value before hand, and\nonly call core_scsi3_put_pr_reg() with a valid *pr_reg.\n\nReported-by: Dan Carpenter <dan.carpenter@oracle.com>\nCc: Andy Grover <agrover@redhat.com>\nCc: <stable@vger.kernel.org> #3.11+\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","Nicholas Bellinger",true],["cdf55949c10aed90d081342264d99b2b0ed0bbf3","978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","target: Fix 32-bit + CONFIG_LBDAF=n link error w/ sector_div\n\nThis patch changes core_alua_state_lba_dependent() to use do_div()\ninstead sector_div() to avoid the following link error on 32-bit\nwith CONFIG_LBDAF=n as reported by Jim:\n\nbuildlog-1391099072.txt-drivers/built-in.o: In function `target_alua_state_check':\nbuildlog-1391099072.txt-(.text+0x928d93): undefined reference to `__umoddi3'\nbuildlog-1391099072.txt:make: *** [vmlinux] Error 1 --\nbuildlog-1391101753.txt-  CC      init/version.o\nbuildlog-1391101753.txt-  LD      init/built-in.o\nbuildlog-1391101753.txt-drivers/built-in.o: In function `core_alua_state_lba_dependent':\nbuildlog-1391101753.txt-/home/jim/linux/drivers/target/target_core_alua.c:503: undefined reference to `__umoddi3'\nbuildlog-1391101753.txt:make: *** [vmlinux] Error 1\n\nReported-by: Jim Davis <jim.epost@gmail.com>\nCc: Hannes Reinecke <hare@suse.de>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","Nicholas Bellinger",true],["2d15025a568ba8ab2bc6120fb13c62a9ca322f62","0d270388f2f92757a5de0f4bd891d3b392c44c4f@purestorage.com","qla2xxx: Remove last vestiges of qla_tgt_cmd.cmd_list\n\nThe only place this struct member is touched is in one INIT_LIST_HEAD.\n\nSigned-off-by: Roland Dreier <roland@purestorage.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","Roland Dreier",true],["6a16d7be932a9df1024836ccbb448de73afd3dd0","0d270388f2f92757a5de0f4bd891d3b392c44c4f@purestorage.com","target: Fix missing length check in spc_emulate_evpd_83()\n\nCommit fbfe858fea2a (\"target_core_spc: Include target device\ndescriptor in VPD page 83\") added a new length variable, but (due to a\ncut and paste mistake?) just checks scsi_name_len against 256 twice.\nFix this to check scsi_target_len for overflow too.\n\nSigned-off-by: Roland Dreier <roland@purestorage.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","Roland Dreier",true],["752d86805b18e58c56c6f3c7004c2dffd4430c17","978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","iscsi-target: Fix SNACK Type 1 + BegRun=0 handling\n\nThis patch fixes Status SNACK handling of BegRun=0 to allow\nfor all unacknowledged respones to be resent, instead of\nalways assuming that BegRun would be an explicit value less\nthan the current ExpStatSN.\n\nReported-by: santosh kulkarni <santosh.kulkarni@calsoftinc.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","Nicholas Bellinger",true],["a80e21b3b2d151d79bb9be42334ab10d40195324","978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","iser-target: Fix leak on failure in isert_conn_create_fastreg_pool\n\nThis patch fixes a memory leak for fr_desc upon failure of\nisert_create_fr_desc() in isert_conn_create_fastreg_pool()\ncode.\n\nAs reported by Coverity 1166659:\n\n*** CID 1166659:  Resource leak  (RESOURCE_LEAK)\n/drivers/infiniband/ulp/isert/ib_isert.c: 470 in isert_conn_create_fastreg_pool()\n464                      isert_conn, isert_conn->conn_fr_pool_size);\n465\n466             return 0;\n467\n468     err:\n469             isert_conn_free_fastreg_pool(isert_conn);\n>>>     CID 1166659:  Resource leak  (RESOURCE_LEAK)\n>>>     Variable \"fr_desc\" going out of scope leaks the storage it points to.\n470             return ret;\n471     }\n472\n473     static int\n474     isert_connect_request(struct rdma_cm_id *cma_id, struct rdma_cm_event *event)\n475     {\n\nCc: Sagi Grimberg <sagig@mellanox.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","Nicholas Bellinger",true],["3dca1471993f9b89f3184468f8bbab2b1e024451","0d270388f2f92757a5de0f4bd891d3b392c44c4f@purestorage.com","target: Simplify command completion by removing CMD_T_FAILED flag\n\nThe CMD_T_FAILED flag is set used in one place to record the result of a\ntrivial test, and it is only tested once, few lines later.  We might as\nwell make the code simpler and easier to read by directly doing the test\nof \"success\" where we want to use it.\n\nSigned-off-by: Roland Dreier <roland@purestorage.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","Roland Dreier",true],["9d8abf45944e4f1c18a04070fc3ed2f3ffcbbcb6","fc379137a64feb86ce38ec5811a14280acc1ccfc@samsung.com","IB/srpt: replace strict_strtoul() with kstrtoul()\n\nThe usage of strict_strtoul() is not preferred, because\nstrict_strtoul() is obsolete. Thus, kstrtoul() should be\nused.\n\nSigned-off-by: Jingoo Han <jg1.han@samsung.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","Jingoo Han",true],["d6a65fdc8903e632aa7bf86ee0f61a73969371f6","380ce2a82d3d08e67ab163b51dc6d30288ad3f13@mellanox.com","Target/sbc: Fix protection copy routine\n\nNeed to take into account that protection sg_list\n(copy-buffer) may consist of multiple entries.\n\nChanges from v0:\n- Changed commit description\n\nSigned-off-by: Sagi Grimberg <sagig@mellanox.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","Sagi Grimberg",true],["dd5fd9b91a77b4c9c28b7ef9c181b1a875820d0a","00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de","tick: Clear broadcast pending bit when switching to oneshot\n\nAMD systems which use the C1E workaround in the amd_e400_idle routine\ntrigger the WARN_ON_ONCE in the broadcast code when onlining a CPU.\n\nThe reason is that the idle routine of those AMD systems switches the\ncpu into forced broadcast mode early on before the newly brought up\nCPU can switch over to high resolution / NOHZ mode. The timer related\nCPU1 bringup looks like this:\n\n  clockevent_register_device(local_apic);\n  tick_setup(local_apic);\n  ...\n  idle()\n\ttick_broadcast_on_off(FORCE);\n\ttick_broadcast_oneshot_control(ENTER)\n\t  cpumask_set(cpu, broadcast_oneshot_mask);\n\thalt();\n\nNow the broadcast interrupt on CPU0 sets CPU1 in the\nbroadcast_pending_mask and wakes CPU1. So CPU1 continues:\n\n\tlocal_apic_timer_interrupt()\n\t   tick_handle_periodic();\n\t   softirq()\n\t     tick_init_highres();\n\t       cpumask_clr(cpu, broadcast_oneshot_mask);\n\t\n\ttick_broadcast_oneshot_control(ENTER)\n\t   WARN_ON(cpumask_test(cpu, broadcast_pending_mask);\n\nSo while we remove CPU1 from the broadcast_oneshot_mask when we switch\nover to highres mode, we do not clear the pending bit, which then\ntriggers the warning when we go back to idle.\n\nThe reason why this is only visible on C1E affected AMD systems is\nthat the other machines enter the deep sleep states via\nacpi_idle/intel_idle and exit the broadcast mode before executing the\nremote triggered local_apic_timer_interrupt. So the pending bit is\nalready cleared when the switch over to highres mode is clearing the\noneshot mask.\n\nThe solution is simple: Clear the pending bit together with the mask\nbit when we switch over to highres mode.\n\nStanislaw came up independently with the same patch by enforcing the\nC1E workaround and debugging the fallout. I picked mine, because mine\nhas a changelog :)\n\nReported-by: poma <pomidorabelisima@gmail.com>\nDebugged-by: Stanislaw Gruszka <sgruszka@redhat.com>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: Olaf Hering <olaf@aepfle.de>\nCc: Dave Jones <davej@redhat.com>\nCc: Justin M. Forbes <jforbes@redhat.com>\nCc: Josh Boyer <jwboyer@redhat.com>\nLink: http://lkml.kernel.org/r/alpine.DEB.2.02.1402111434180.21991@ionos.tec.linutronix.de\nCc: stable@vger.kernel.org # 3.10+\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>","Thomas Gleixner",true],["79970db213344b4a4034645db5ebfc31571f3fa3","fd4ce474653598159cad06f3c83387a05cd53a44@the-dreams.de","i2c: mv64xxx: refactor message start to ensure proper initialization\n\nBecause the offload mechanism can fall back to a standard transfer,\nhaving two seperate initialization states is unfortunate. Let's just\nhave one state which does things consistently. This fixes a bug where\nsome preparation was missing when the fallback happened. And it makes\nthe code much easier to follow. To implement this, we put the check\nif offload is possible at the top of the offload setup function.\n\nSigned-off-by: Wolfram Sang <wsa@the-dreams.de>\nTested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>\nCc: stable@vger.kernel.org # v3.12+\nFixes: 930ab3d403ae (i2c: mv64xxx: Add I2C Transaction Generator support)","Wolfram Sang",true],["aeca0fe62ac19217cb8158a0c5f6f74e3b8d304b","fd4ce474653598159cad06f3c83387a05cd53a44@the-dreams.de","Documentation: i2c: describe devicetree method for instantiating devices\n\nSigned-off-by: Wolfram Sang <wsa@the-dreams.de>","Wolfram Sang",true],["fde1e418ab2c4269035f7f576e678b6ad3117d7d","fd4ce474653598159cad06f3c83387a05cd53a44@the-dreams.de","Documentation: i2c: mention ACPI method for instantiating devices\n\nSigned-off-by: Wolfram Sang <wsa@the-dreams.de>\nAcked-by: Guenter Roeck <linux@roeck-us.net>","Wolfram Sang",true],["3a19c07c565c1e05b73b165c3dc0750d6863a81c","69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip\n\nPull timer fixes from Thomas Gleixner:\n \"The following trilogy of patches brings you:\n\n   - fix for a long standing math overflow issue with HZ < 60\n\n   - an onliner fix for a corner case in the dreaded tick broadcast\n     mechanism affecting a certain range of AMD machines which are\n     infested with the infamous automagic C1E power control misfeature\n\n   - a fix for one of the ARM platforms which allows the kernel to\n     proceed and boot instead of stupidly panicing for no good reason.\n     The patch is slightly larger than necessary, but it's less ugly\n     than the alternative 5 liner\"\n\n* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:\n  tick: Clear broadcast pending bit when switching to oneshot\n  clocksource: Kona: Print warning rather than panic\n  time: Fix overflow when HZ is smaller than 60","Linus Torvalds",true],["5a667a0c02f3d24eb82a44074d24524c17e1ad34","69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","Merge branches 'irq-urgent-for-linus' and 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip\n\nPull irq update from Thomas Gleixner:\n \"Fix from the urgent branch: a trivial oneliner adding the missing\n  Kconfig dependency curing build failures which have been discovered by\n  several build robots.\n\n  The update in the irq-core branch provides a new function in the\n  irq/devres code, which is a prerequisite for driver developers to get\n  rid of boilerplate code all over the place.\n\n  Not a bugfix, but it has zero impact on the current kernel due to the\n  lack of users.  It's simpler to provide the infrastructure to\n  interested parties via your tree than fulfilling the wishlist of\n  driver maintainers on which particular commit or tag this should be\n  based on\"\n\n* 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:\n  genirq: Add missing irq_to_desc export for CONFIG_SPARSE_IRQ=n\n\n* 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:\n  genirq: Add devm_request_any_context_irq()","Linus Torvalds",true],["2d0ef4fb34b0462d84a2d87292144b9dad79c8d0","69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux\n\nPull i2c fixes from Wolfram Sang:\n \"i2c has a bugfix and documentation improvements for you\"\n\n* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:\n  Documentation: i2c: mention ACPI method for instantiating devices\n  Documentation: i2c: describe devicetree method for instantiating devices\n  i2c: mv64xxx: refactor message start to ensure proper initialization","Linus Torvalds",true]],"size":21,"ref":"refs/heads/master","head":"946dd683afb611721cce2cc7e76a19e74f58e067"}