{"push_id":1475881144,"size":1000,"distinct_size":7,"ref":"refs/heads/work/hns/misc/wwan","head":"4f88b77c4af73d9fc8a09179c00d1392b51ce9a8","before":"aedab245098e4d27bd08107ad0243bf9a72ab792","commits":[{"sha":"5097e71f3edafad3e7d8d4f9c4a137d9aad0fae2","author":{"name":"Moni Shoua","email":"30e0993232d9ed1789343bb6a15d7daf43cd5d80@mellanox.com"},"message":"IB/mlx5: Use kernel driver to help userspace create ah\n\nResolving a MAC address for a given IP address in userspace is inefficient.\nThis patch lets mlx5 user driver using the kernel driver to resolve the mac\nand get the answer in the private section of the response.\n\nSigned-off-by: Moni Shoua <monis@mellanox.com>\nReviewed-by: Yishai Hadas <yishaih@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/5097e71f3edafad3e7d8d4f9c4a137d9aad0fae2"},{"sha":"41c450fd8da549c5f7cced6650354095b0d4312a","author":{"name":"Moni Shoua","email":"30e0993232d9ed1789343bb6a15d7daf43cd5d80@mellanox.com"},"message":"IB/mlx5: Make create/destroy_ah available to userspace\n\nAdvertise that create_ah and destroy_ah verbs are accessible from\nuverbs interface.\n\nSigned-off-by: Moni Shoua <monis@mellanox.com>\nReviewed-by: Yishai Hadas <yishaih@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/41c450fd8da549c5f7cced6650354095b0d4312a"},{"sha":"c482af646d0809a8d5e1b7f4398cce3592589b98","author":{"name":"Jack Morgenstein","email":"9199a894d30558f9073fe198ba069ef3e4372dd7@dev.mellanox.co.il"},"message":"IB/mlx4: Fix out-of-range array index in destroy qp flow\n\nFor non-special QPs, the port value becomes non-zero only at the\nRESET-to-INIT transition. If the QP has not undergone that transition,\nits port number value is still zero.\n\nIf such a QP is destroyed before being moved out of the RESET state,\nsubtracting one from the qp port number results in a negative value.\nUsing that negative value as an index into the qp1_proxy array\nresults in an out-of-bounds array reference.\n\nFix this by testing that the QP type is one that uses qp1_proxy before\nusing the port number. For special QPs of all types, the port number is\nspecified at QP creation time.\n\nFixes: 9433c188915c (\"IB/mlx4: Invoke UPDATE_QP for proxy QP1 on MAC changes\")\nSigned-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/c482af646d0809a8d5e1b7f4398cce3592589b98"},{"sha":"c73b7911de97fad3ab9032a110af48d6ab2da48f","author":{"name":"Maor Gottlieb","email":"9a814851566e85e810d399739f3db0de09beb73c@mellanox.com"},"message":"IB/mlx5: Assign SRQ type earlier\n\nMove the SRQ type assignment to be before actually using it\nin create_srq_user() and in create_srq_kernel() functions.\n\nFixes: af1ba291c5e4 ('{net, IB}/mlx5: Refactor internal SRQ API')\nSigned-off-by: Maor Gottlieb <maorg@mellanox.com>\nReviewed-by: Majd Dibbiny <majd@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/c73b7911de97fad3ab9032a110af48d6ab2da48f"},{"sha":"afd02cd3a9b6c04b41d946b5d7f6e17b3fc30c6b","author":{"name":"Eli Cohen","email":"4018f69c53bfa0bbd668d43a020001f24c41555d@mellanox.com"},"message":"IB/mlx5: Avoid system crash when enabling many VFs\n\nWhen enabling many VFs, the total amount of DMA mappings increase\nsignificantly. This causes DMA allocations to take a lot of time\nsince they are serialized in the kernel.\n\nAs a result the driver enters into fatal condition due to\ntimeout and the system hangs. To recover from this we disable\nMR cache for VFs.\n\nPFs will still have a full cache and VFs cache can be manipulated\nas usual after driver load.\n\nFixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')\nSigned-off-by: Eli Cohen <eli@mellanox.com>\nSigned-off-by: Maor Gottlieb <maorg@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/afd02cd3a9b6c04b41d946b5d7f6e17b3fc30c6b"},{"sha":"b216af408c985092a79472ad10e6f216cb2973fc","author":{"name":"Maor Gottlieb","email":"9a814851566e85e810d399739f3db0de09beb73c@mellanox.com"},"message":"IB/mlx5: Use u64 for UMR length\n\nThe fast_registration length is used to convey length for memory\nregistrations through UMR which can be of any size up to 2^64.\n\nChange the length type to be u64.\n\nFixes: 968e78dd9644 ('IB/mlx5: Enhance UMR support to allow partial page table update')\nSigned-off-by: Maor Gottlieb <maorg@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/b216af408c985092a79472ad10e6f216cb2973fc"},{"sha":"d012f5d6f8597f936f44c79e46345fda86dcff4d","author":{"name":"Or Gerlitz","email":"1d5567bccfc6dd59c6f26cddb2897fb0786c20af@mellanox.com"},"message":"IB/mlx5: Refactor registration to netdev notifier\n\nRefactor the netdev notifier registration into a small helper function.\n\nThis is a pre-step towards having mlx5 IB device over an Ethernet port\nwhich doesn't support RoCE. Also, renamed the de-registration helper\nand the new helper as netdev notifier and not roce, to make it clear\nthis is not only used with roce.\n\nThis patch doesn't change any functionality.\n\nSigned-off-by: Or Gerlitz <ogerlitz@mellanox.com>\nReviewed-by: Matan Barak <matanb@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/d012f5d6f8597f936f44c79e46345fda86dcff4d"},{"sha":"45f95acd63222dd1dc752fa904536327b10f1082","author":{"name":"Or Gerlitz","email":"1d5567bccfc6dd59c6f26cddb2897fb0786c20af@mellanox.com"},"message":"IB/mlx5: Rename RoCE related helpers to reflect being Eth ones\n\nThis is a pre-step towards having mlx5 IB device also over Eth ports where\nRoCE is not supported. We change the roce enable/disable and roce_lag\ninit/fini function names to have _eth instead of _roce.\n\nThis patch doesn't change any functionality.\n\nSigned-off-by: Or Gerlitz <ogerlitz@mellanox.com>\nReviewed-by: Matan Barak <matanb@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/45f95acd63222dd1dc752fa904536327b10f1082"},{"sha":"ca5b91d63192ceaa41a6145f8c923debb64c71fa","author":{"name":"Or Gerlitz","email":"1d5567bccfc6dd59c6f26cddb2897fb0786c20af@mellanox.com"},"message":"IB/mlx5: Support RAW Ethernet when RoCE is disabled\n\nOn some environments, such as certain SRIOV VF configurations, RoCE is\nnot supported for mlx5 Ethernet ports. Currently, the driver will not\nopen IB device on that port.\n\nThis is problematic, since we do want user-space RAW Ethernet (RAW_PACKET\nQPs) functionality to remain in place. For that end, enhance the relevant\ndriver flows such that we do create a device instance in that case.\n\nSigned-off-by: Or Gerlitz <ogerlitz@mellanox.com>\nReviewed-by: Matan Barak <matanb@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/ca5b91d63192ceaa41a6145f8c923debb64c71fa"},{"sha":"d949167d68b304c0a00331cf33ef49a29b65d85f","author":{"name":"Bodong Wang","email":"38cb4eb6dd40772c5eeeb82522fdd6c3c5f01d27@mellanox.com"},"message":"IB/mlx5: Report mlx5 packet pacing capabilities when querying device\n\nEnable mlx5 based hardware to report packet pacing capabilities\nfrom kernel to user space. Packet pacing allows to limit the rate to any\nnumber between the maximum and minimum, based on user settings.\n\nThe capabilities are exposed to user space through query_device by uhw.\nThe following capabilities are reported:\n\n1. The maximum and minimum rate limit in kbps supported by packet pacing.\n2. Bitmap showing which QP types are supported by packet pacing operation.\n\nSigned-off-by: Bodong Wang <bodong@mellanox.com>\nReviewed-by: Matan Barak <matanb@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/d949167d68b304c0a00331cf33ef49a29b65d85f"},{"sha":"528e5a1bd3f0e9b760cb3a1062fce7513712a15d","author":{"name":"Bodong Wang","email":"38cb4eb6dd40772c5eeeb82522fdd6c3c5f01d27@mellanox.com"},"message":"IB/core: Support rate limit for packet pacing\n\nAdd new member rate_limit to ib_qp_attr which holds the packet pacing rate\nin kbps, 0 means unlimited.\n\nIB_QP_RATE_LIMIT is added to ib_attr_mask and could be used by RAW\nQPs when changing QP state from RTR to RTS, RTS to RTS.\n\nSigned-off-by: Bodong Wang <bodong@mellanox.com>\nReviewed-by: Matan Barak <matanb@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/528e5a1bd3f0e9b760cb3a1062fce7513712a15d"},{"sha":"189aba99e70030cfb56bd8f199bc5b077a1bc6ff","author":{"name":"Bodong Wang","email":"38cb4eb6dd40772c5eeeb82522fdd6c3c5f01d27@mellanox.com"},"message":"IB/uverbs: Extend modify_qp and support packet pacing\n\nAn new uverbs command ib_uverbs_ex_modify_qp is added to support more QP\nattributes. User driver should choose to call the legacy/extended API\nbased on input mask.\n\nIB_USER_LAST_QP_ATTR_MASK is added to indicated the maximum bit position\nwhich supports legacy ib_uverbs_modify_qp.\nIB_USER_LEGACY_LAST_QP_ATTR_MASK indicates the maximum bit position\nwhich supports ib_uverbs_ex_modify_qp, the value of this mask should be\nupdated if new mask is added later.\n\nAlong with this change, rate_limit is supported by the extended command,\nuser driver could use it to control packet packing.\n\nSigned-off-by: Bodong Wang <bodong@mellanox.com>\nReviewed-by: Matan Barak <matanb@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/189aba99e70030cfb56bd8f199bc5b077a1bc6ff"},{"sha":"7d29f349a4b9dcf5bc9dcc05630d6a7f6b6b3ccd","author":{"name":"Bodong Wang","email":"38cb4eb6dd40772c5eeeb82522fdd6c3c5f01d27@mellanox.com"},"message":"IB/mlx5: Properly adjust rate limit on QP state transitions\n\n- Add MODIFY_QP_EX CMD to extend modify_qp.\n- Rate limit will be updated in the following state transactions: RTR2RTS,\n  RTS2RTS. The limit will be removed when SQ is in RST and ERR state.\n\nSigned-off-by: Bodong Wang <bodong@mellanox.com>\nReviewed-by: Matan Barak <matanb@mellanox.com>\nSigned-off-by: Leon Romanovsky <leon@kernel.org>\nSigned-off-by: Doug Ledford <dledford@redhat.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/7d29f349a4b9dcf5bc9dcc05630d6a7f6b6b3ccd"},{"sha":"7b9dc3f75fc8be046e76387a22a21f421ce55b53","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge tag 'pm-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm\n\nPull power management updates from Rafael Wysocki:\n \"Again, cpufreq gets more changes than the other parts this time (one\n  new driver, one old driver less, a bunch of enhancements of the\n  existing code, new CPU IDs, fixes, cleanups)\n\n  There also are some changes in cpuidle (idle injection rework, a\n  couple of new CPU IDs, online/offline rework in intel_idle, fixes and\n  cleanups), in the generic power domains framework (mostly related to\n  supporting power domains containing CPUs), and in the Operating\n  Performance Points (OPP) library (mostly related to supporting devices\n  with multiple voltage regulators)\n\n  In addition to that, the system sleep state selection interface is\n  modified to make it easier for distributions with unchanged user space\n  to support suspend-to-idle as the default system suspend method, some\n  issues are fixed in the PM core, the latency tolerance PM QoS\n  framework is improved a bit, the Intel RAPL power capping driver is\n  cleaned up and there are some fixes and cleanups in the devfreq\n  subsystem\n\n  Specifics:\n\n   - New cpufreq driver for Broadcom STB SoCs and a Device Tree binding\n     for it (Markus Mayer)\n\n   - Support for ARM Integrator/AP and Integrator/CP in the generic DT\n     cpufreq driver and elimination of the old Integrator cpufreq driver\n     (Linus Walleij)\n\n   - Support for the zx296718, r8a7743 and r8a7745, Socionext UniPhier,\n     and PXA SoCs in the the generic DT cpufreq driver (Baoyou Xie,\n     Geert Uytterhoeven, Masahiro Yamada, Robert Jarzmik)\n\n   - cpufreq core fix to eliminate races that may lead to using inactive\n     policy objects and related cleanups (Rafael Wysocki)\n\n   - cpufreq schedutil governor update to make it use SCHED_FIFO kernel\n     threads (instead of regular workqueues) for doing delayed work (to\n     reduce the response latency in some cases) and related cleanups\n     (Viresh Kumar)\n\n   - New cpufreq sysfs attribute for resetting statistics (Markus Mayer)\n\n   - cpufreq governors fixes and cleanups (Chen Yu, Stratos Karafotis,\n     Viresh Kumar)\n\n   - Support for using generic cpufreq governors in the intel_pstate\n     driver (Rafael Wysocki)\n\n   - Support for per-logical-CPU P-state limits and the EPP/EPB (Energy\n     Performance Preference/Energy Performance Bias) knobs in the\n     intel_pstate driver (Srinivas Pandruvada)\n\n   - New CPU ID for Knights Mill in intel_pstate (Piotr Luc)\n\n   - intel_pstate driver modification to use the P-state selection\n     algorithm based on CPU load on platforms with the system profile in\n     the ACPI tables set to \"mobile\" (Srinivas Pandruvada)\n\n   - intel_pstate driver cleanups (Arnd Bergmann, Rafael Wysocki,\n     Srinivas Pandruvada)\n\n   - cpufreq powernv driver updates including fast switching support\n     (for the schedutil governor), fixes and cleanus (Akshay Adiga,\n     Andrew Donnellan, Denis Kirjanov)\n\n   - acpi-cpufreq driver rework to switch it over to the new CPU\n     offline/online state machine (Sebastian Andrzej Siewior)\n\n   - Assorted cleanups in cpufreq drivers (Wei Yongjun, Prashanth\n     Prakash)\n\n   - Idle injection rework (to make it use the regular idle path instead\n     of a home-grown custom one) and related powerclamp thermal driver\n     updates (Peter Zijlstra, Jacob Pan, Petr Mladek, Sebastian Andrzej\n     Siewior)\n\n   - New CPU IDs for Atom Z34xx and Knights Mill in intel_idle (Andy\n     Shevchenko, Piotr Luc)\n\n   - intel_idle driver cleanups and switch over to using the new CPU\n     offline/online state machine (Anna-Maria Gleixner, Sebastian\n     Andrzej Siewior)\n\n   - cpuidle DT driver update to support suspend-to-idle properly\n     (Sudeep Holla)\n\n   - cpuidle core cleanups and misc updates (Daniel Lezcano, Pan Bian,\n     Rafael Wysocki)\n\n   - Preliminary support for power domains including CPUs in the generic\n     power domains (genpd) framework and related DT bindings (Lina Iyer)\n\n   - Assorted fixes and cleanups in the generic power domains (genpd)\n     framework (Colin Ian King, Dan Carpenter, Geert Uytterhoeven)\n\n   - Preliminary support for devices with multiple voltage regulators\n     and related fixes and cleanups in the Operating Performance Points\n     (OPP) library (Viresh Kumar, Masahiro Yamada, Stephen Boyd)\n\n   - System sleep state selection interface rework to make it easier to\n     support suspend-to-idle as the default system suspend method\n     (Rafael Wysocki)\n\n   - PM core fixes and cleanups, mostly related to the interactions\n     between the system suspend and runtime PM frameworks (Ulf Hansson,\n     Sahitya Tummala, Tony Lindgren)\n\n   - Latency tolerance PM QoS framework imorovements (Andrew Lutomirski)\n\n   - New Knights Mill CPU ID for the Intel RAPL power capping driver\n     (Piotr Luc)\n\n   - Intel RAPL power capping driver fixes, cleanups and switch over to\n     using the new CPU offline/online state machine (Jacob Pan, Thomas\n     Gleixner, Sebastian Andrzej Siewior)\n\n   - Fixes and cleanups in the exynos-ppmu, exynos-nocp, rk3399_dmc,\n     rockchip-dfi devfreq drivers and the devfreq core (Axel Lin,\n     Chanwoo Choi, Javier Martinez Canillas, MyungJoo Ham, Viresh Kumar)\n\n   - Fix for false-positive KASAN warnings during resume from ACPI S3\n     (suspend-to-RAM) on x86 (Josh Poimboeuf)\n\n   - Memory map verification during resume from hibernation on x86 to\n     ensure a consistent address space layout (Chen Yu)\n\n   - Wakeup sources debugging enhancement (Xing Wei)\n\n   - rockchip-io AVS driver cleanup (Shawn Lin)\"\n\n* tag 'pm-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (127 commits)\n  devfreq: rk3399_dmc: Don't use OPP structures outside of RCU locks\n  devfreq: rk3399_dmc: Remove dangling rcu_read_unlock()\n  devfreq: exynos: Don't use OPP structures outside of RCU locks\n  Documentation: intel_pstate: Document HWP energy/performance hints\n  cpufreq: intel_pstate: Support for energy performance hints with HWP\n  cpufreq: intel_pstate: Add locking around HWP requests\n  PM / sleep: Print active wakeup sources when blocking on wakeup_count reads\n  PM / core: Fix bug in the error handling of async suspend\n  PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend\n  PM / Domains: Fix compatible for domain idle state\n  PM / OPP: Don't WARN on multiple calls to dev_pm_opp_set_regulators()\n  PM / OPP: Allow platform specific custom set_opp() callbacks\n  PM / OPP: Separate out _generic_set_opp()\n  PM / OPP: Add infrastructure to manage multiple regulators\n  PM / OPP: Pass struct dev_pm_opp_supply to _set_opp_voltage()\n  PM / OPP: Manage supply's voltage/current in a separate structure\n  PM / OPP: Don't use OPP structure outside of rcu protected section\n  PM / OPP: Reword binding supporting multiple regulators per device\n  PM / OPP: Fix incorrect cpu-supply property in binding\n  cpuidle: Add a kerneldoc comment to cpuidle_use_deepest_state()\n  ..","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/7b9dc3f75fc8be046e76387a22a21f421ce55b53"},{"sha":"ec9160dacdb08eaeb40a878db97dfed6c2212d91","author":{"name":"Richard Weinberger","email":"4683394d5200e728393f79e167a6ec890cd1fd9d@nod.at"},"message":"ubifs: Use fscrypt ioctl() helpers\n\nCommit db717d8e26c2 (\"fscrypto: move ioctl processing more fully into\ncommon code\") moved ioctl() related functions into fscrypt and offers\nus now a set of helper functions.\n\nSigned-off-by: Richard Weinberger <richard@nod.at>\nReviewed-by: David Gstir <david@sigma-star.at>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/ec9160dacdb08eaeb40a878db97dfed6c2212d91"},{"sha":"2939e1a86f758b55cdba73e29397dd3d94df13bc","author":{"name":"Maxim Patlasov","email":"fc28939f24b30793f007358ea30c21398974ea5c@virtuozzo.com"},"message":"btrfs: limit async_work allocation and worker func duration\n\nProblem statement: unprivileged user who has read-write access to more than\none btrfs subvolume may easily consume all kernel memory (eventually\ntriggering oom-killer).\n\nReproducer (./mkrmdir below essentially loops over mkdir/rmdir):\n\n[root@kteam1 ~]# cat prep.sh\n\nDEV=/dev/sdb\nmkfs.btrfs -f $DEV\nmount $DEV /mnt\nfor i in `seq 1 16`\ndo\n\tmkdir /mnt/$i\n\tbtrfs subvolume create /mnt/SV_$i\n\tID=`btrfs subvolume list /mnt |grep \"SV_$i$\" |cut -d ' ' -f 2`\n\tmount -t btrfs -o subvolid=$ID $DEV /mnt/$i\n\tchmod a+rwx /mnt/$i\ndone\n\n[root@kteam1 ~]# sh prep.sh\n\n[maxim@kteam1 ~]$ for i in `seq 1 16`; do ./mkrmdir /mnt/$i 2000 2000 & done\n\n[root@kteam1 ~]# for i in `seq 1 4`; do grep \"kmalloc-128\" /proc/slabinfo | grep -v dma; sleep 60; done\nkmalloc-128        10144  10144    128   32    1 : tunables    0    0    0 : slabdata    317    317      0\nkmalloc-128       9992352 9992352    128   32    1 : tunables    0    0    0 : slabdata 312261 312261      0\nkmalloc-128       24226752 24226752    128   32    1 : tunables    0    0    0 : slabdata 757086 757086      0\nkmalloc-128       42754240 42754240    128   32    1 : tunables    0    0    0 : slabdata 1336070 1336070      0\n\nThe huge numbers above come from insane number of async_work-s allocated\nand queued by btrfs_wq_run_delayed_node.\n\nThe problem is caused by btrfs_wq_run_delayed_node() queuing more and more\nworks if the number of delayed items is above BTRFS_DELAYED_BACKGROUND. The\nworker func (btrfs_async_run_delayed_root) processes at least\nBTRFS_DELAYED_BATCH items (if they are present in the list). So, the machinery\nworks as expected while the list is almost empty. As soon as it is getting\nbigger, worker func starts to process more than one item at a time, it takes\nlonger, and the chances to have async_works queued more than needed is getting\nhigher.\n\nThe problem above is worsened by another flaw of delayed-inode implementation:\nif async_work was queued in a throttling branch (number of items >=\nBTRFS_DELAYED_WRITEBACK), corresponding worker func won't quit until\nthe number of items < BTRFS_DELAYED_BACKGROUND / 2. So, it is possible that\nthe func occupies CPU infinitely (up to 30sec in my experiments): while the\nfunc is trying to drain the list, the user activity may add more and more\nitems to the list.\n\nThe patch fixes both problems in straightforward way: refuse queuing too\nmany works in btrfs_wq_run_delayed_node and bail out of worker func if\nat least BTRFS_DELAYED_WRITEBACK items are processed.\n\nChanged in v2: remove support of thresh == NO_THRESHOLD.\n\nSigned-off-by: Maxim Patlasov <mpatlasov@virtuozzo.com>\nSigned-off-by: Chris Mason <clm@fb.com>\nCc: stable@vger.kernel.org # v3.15+","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/2939e1a86f758b55cdba73e29397dd3d94df13bc"},{"sha":"a67485d4bf97918225dfb5246e531643755a7ee1","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge tag 'acpi-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm\n\nPull ACPI updates from Rafael Wysocki:\n \"The ACPICA code in the kernel gets updated as usual (included is\n  upstream revision 20160930 and a few commits from the next one, with\n  the rest waiting for an issue discovered in linux-next to be\n  addressed) which brings in a couple of fixes and cleanups\n\n  On top of that initial support for APEI on ARM64 is added, two new\n  pieces of documentation are introduced, the properties-parsing code is\n  updated to follow changes in the (external) documentation it is based\n  on and there are a few updates of SoC drivers, some new blacklist\n  entries, plus some assorted fixes and cleanups\n\n  Specifics:\n\n   - ACPICA update including upstream revision 20160930 and several\n     commits beyond it (Bob Moore, Lv Zheng)\n\n   - Initial support for ACPI APEI on ARM64 (Tomasz Nowicki)\n\n   - New document describing the handling of _OSI and _REV in Linux (Len\n     Brown)\n\n   - New document describing the usage rules for _DSD properties (Rafael\n     Wysocki)\n\n   - Update of the ACPI properties-parsing code to reflect recent\n     changes in the (external) documentation it is based on (Rafael\n     Wysocki)\n\n   - Updates of the ACPI LPSS and ACPI APD SoC drivers for additional\n     hardware support (Andy Shevchenko, Nehal Shah)\n\n   - New blacklist entries for _REV and video handling (Alex Hung, Hans\n     de Goede, Michael Pobega)\n\n   - ACPI battery driver fix to fall back to _BIF if _BIX fails (Dave\n     Lambley)\n\n   - NMI notifications handling fix for APEI (Prarit Bhargava)\n\n   - Error code path fix for the ACPI CPPC library (Dan Carpenter)\n\n   - Assorted cleanups (Andy Shevchenko, Longpeng Mike)\"\n\n* tag 'acpi-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (31 commits)\n  ACPICA: Utilities: Add new decode function for parser values\n  ACPI / osl: Refactor acpi_os_get_root_pointer() to drop 'else':s\n  ACPI / osl: Propagate actual error code for kstrtoul()\n  ACPI / property: Document usage rules for _DSD properties\n  ACPI: Document _OSI and _REV for Linux BIOS writers\n  ACPI / APEI / ARM64: APEI initial support for ARM64\n  ACPI / APEI: Fix NMI notification handling\n  ACPICA: Tables: Add an error message complaining driver bugs\n  ACPICA: Tables: Add acpi_tb_unload_table()\n  ACPICA: Tables: Cleanup acpi_tb_install_and_load_table()\n  ACPICA: Events: Fix acpi_ev_initialize_region() return value\n  ACPICA: Back port of \"ACPICA: Dispatcher: Tune interpreter lock around AcpiEvInitializeRegion()\"\n  ACPICA: Namespace: Add acpi_ns_handle_to_name()\n  ACPI / CPPC: set an error code on probe error path\n  ACPI / video: Add force_native quirk for HP Pavilion dv6\n  ACPI / video: Add force_native quirk for Dell XPS 17 L702X\n  ACPI / property: Hierarchical properties support update\n  ACPI / LPSS: enable hard LLP for DMA\n  ACPI / battery: If _BIX fails, retry with _BIF\n  ACPI / video: Move ACPI_VIDEO_NOTIFY_* defines to acpi/video.h\n  ..","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/a67485d4bf97918225dfb5246e531643755a7ee1"},{"sha":"03f8d4cca352fd41f26b5c88dec1e4d3f507f5de","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge tag 'usb-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb\n\nPull USB/PHY updates from Greg KH:\n \"Here's the big set of USB/PHY patches for 4.10-rc1.\n\n  A number of new drivers are here in this set of changes. We have a new\n  USB controller type \"mtu3\", a new usb-serial driver, and the usual\n  churn in the gadget subsystem and the xhci host controller driver,\n  along with a few other new small drivers added. And lots of little\n  other changes all over the USB and PHY driver tree. Full details are\n  in the shortlog\n\n  All of these have been in linux-next for a while with no reported\n  issues\"\n\n* tag 'usb-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (309 commits)\n  USB: serial: option: add dlink dwm-158\n  USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041\n  USB: OHCI: nxp: fix code warnings\n  USB: OHCI: nxp: remove useless extern declaration\n  USB: OHCI: at91: remove useless extern declaration\n  usb: misc: rio500: fix result type for error message\n  usb: mtu3: fix U3 port link issue\n  usb: mtu3: enable auto switch from U3 to U2\n  usbip: fix warning in vhci_hcd_probe/lockdep_init_map\n  usb: core: usbport: Use proper LED API to fix potential crash\n  usbip: add missing compile time generated files to .gitignore\n  usb: hcd.h: construct hub class request constants from simpler constants\n  USB: OHCI: ohci-pxa27x: remove useless functions\n  USB: OHCI: omap: remove useless extern declaration\n  USB: OHCI: ohci-omap: remove useless functions\n  USB: OHCI: ohci-s3c2410: remove useless functions\n  USB: cdc-acm: add device id for GW Instek AFG-125\n  fsl/usb: Workarourd for USB erratum-A005697\n  usb: hub: Wait for connection to be reestablished after port reset\n  usbip: vudc: Refactor init_vudc_hw() to be more obvious\n  ...","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/03f8d4cca352fd41f26b5c88dec1e4d3f507f5de"},{"sha":"5266e70335dac35c35b5ca9cea4251c1389d4a68","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge tag 'tty-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty\n\nPull tty/serial updates from Greg KH:\n \"Here's the tty/serial patchset for 4.10-rc1.\n\n  It's been a quiet kernel cycle for this subsystem, just a small number\n  of changes. A few new serial drivers, and some cleanups to the old\n  vgacon logic, and other minor serial driver changes as well.\n\n  All of these have been in linux-next for a while with no reported\n  issues\"\n\n* tag 'tty-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (54 commits)\n  serial: 8250_mid fix calltrace when hotplug 8250 serial controller\n  console: Move userspace I/O out of console_lock to fix lockdep warning\n  tty: nozomi: avoid sprintf buffer overflow\n  serial: 8250_pci: Detach low-level driver during PCI error recovery\n  serial: core: don't check port twice in a row\n  mxs-auart: count FIFO overrun errors\n  serial: 8250_dw: Add support for IrDA SIR mode\n  serial: 8250: Expose set_ldisc function\n  serial: 8250: Add IrDA to UART capabilities\n  serial: 8250_dma: power off device after TX is done\n  serial: 8250_port: export serial8250_rpm_{get|put}_tx()\n  serial: sunsu: Free memory when probe fails\n  serial: sunhv: Free memory when remove() is called\n  vt: fix Scroll Lock LED trigger name\n  tty: typo in comments in drivers/tty/vt/keyboard.c\n  tty: amba-pl011: Add earlycon support for SBSA UART\n  tty: nozomi: use permission-specific DEVICE_ATTR variants\n  tty: serial: Make the STM32 serial port depend on it's arch\n  serial: ifx6x60: Free memory when probe fails\n  serial: ioc4_serial: Free memory when kzalloc fails during probe\n  ...","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/5266e70335dac35c35b5ca9cea4251c1389d4a68"},{"sha":"72cca7baf4fba777b8ab770b902cf2e08941773f","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge tag 'staging-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging\n\nPull staging/IIO updates from Greg KH:\n \"Here's the \"big\" staging/iio pull request for 4.10-rc1.\n\n  Not as big as 4.9 was, but still just over a thousand changes. We\n  almost broke even of lines added vs. removed, as the slicoss driver\n  was removed (got a \"clean\" driver for the same hardware through the\n  netdev tree), and some iio drivers were also dropped, but I think we\n  ended up adding a few thousand lines to the source tree in the end.\n  Other than that it's a lot of minor fixes all over the place, nothing\n  major stands out at all.\n\n  All of these have been in linux-next for a while. There will be a\n  merge conflict with Al's vfs tree in the lustre code, but the\n  resolution for that should be pretty simple, that too has been in\n  linux-next\"\n\n* tag 'staging-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1002 commits)\n  staging: comedi: comedidev.h: Document usage of 'detach' handler\n  staging: fsl-mc: remove unnecessary info prints from bus driver\n  staging: fsl-mc: add sysfs ABI doc\n  staging/lustre/o2iblnd: Fix misspelled attemps->attempts\n  staging/lustre/o2iblnd: Fix misspelling intialized->intialized\n  staging/lustre: Convert all bare unsigned to unsigned int\n  staging/lustre/socklnd: Fix whitespace problem\n  staging/lustre/o2iblnd: Add missing space\n  staging/lustre/lnetselftest: Fix potential integer overflow\n  staging: greybus: audio_module: remove redundant OOM message\n  staging: dgnc: Fix lines longer than 80 characters\n  staging: dgnc: fix blank line after '{' warnings.\n  staging/android: remove Sync Framework tasks from TODO\n  staging/lustre/osc: Revert erroneous list_for_each_entry_safe use\n  staging: slicoss: remove the staging driver\n  staging: lustre: libcfs: remove lnet upcall code\n  staging: lustre: remove set but unused variables\n  staging: lustre: osc: set lock data for readahead lock\n  staging: lustre: import: don't reconnect during connect interpret\n  staging: lustre: clio: remove mtime check in vvp_io_fault_start()\n  ...","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/72cca7baf4fba777b8ab770b902cf2e08941773f"}]}
{"actor":{"display_login":"goldelico"}}