{"push_id":987566672,"size":252,"distinct_size":0,"ref":"refs/heads/work/hns/video/dss/ssd2858","head":"2db054bcff9c92e30d121f9379db21daef23e0a2","before":"7bbd1d15be7e8eddc1bc0775961f551614a96520","commits":[{"sha":"e57e58bd390a6843db58560bf7b8341665d2e058","author":{"email":"b460d66aaf00c296a3db1c1d9eeafc081d5f7d70@intel.com","name":"David Woodhouse"},"message":"iommu/vt-d: Fix mm refcounting to hold mm_count not mm_users\n\nHolding mm_users works OK for graphics, which was the first user of SVM\nwith VT-d. However, it works less well for other devices, where we actually\ndo a mmap() from the file descriptor to which the SVM PASID state is tied.\n\nIn this case on process exit we end up with a recursive reference count:\n - The MM remains alive until the file is closed and the driver's release()\n   call ends up unbinding the PASID.\n - The VMA corresponding to the mmap() remains intact until the MM is\n   destroyed.\n - Thus the file isn't closed, even when exit_files() runs, because the\n   VMA is still holding a reference to it. And the MM remains alive…\n\nTo address this issue, we *stop* holding mm_users while the PASID is bound.\nWe already hold mm_count by virtue of the MMU notifier, and that can be\nmade to be sufficient.\n\nIt means that for a period during process exit, the fun part of mmput()\nhas happened and exit_mmap() has been called so the MM is basically\ndefunct. But the PGD still exists and the PASID is still bound to it.\n\nDuring this period, we have to be very careful — exit_mmap() doesn't use\nmm->mmap_sem because it doesn't expect anyone else to be touching the MM\n(quite reasonably, since mm_users is zero). So we also need to fix the\nfault handler to just report failure if mm_users is already zero, and to\ntemporarily bump mm_users while handling any faults.\n\nAdditionally, exit_mmap() calls mmu_notifier_release() *before* it tears\ndown the page tables, which is too early for us to flush the IOTLB for\nthis PASID. And __mmu_notifier_release() removes every notifier from the\nlist, so when exit_mmap() finally *does* tear down the mappings and\nclear the page tables, we don't get notified. So we work around this by\nclearing the PASID table entry in our MMU notifier release() callback.\nThat way, the hardware *can't* get any pages back from the page tables\nbefore they get cleared.\n\nHardware designers have confirmed that the resulting 'PASID not present'\nfaults should be handled just as gracefully as 'page not present' faults,\nthe important criterion being that they don't perturb the operation for\nany *other* PASID in the system.\n\nSigned-off-by: David Woodhouse <David.Woodhouse@intel.com>\nCc: stable@vger.kernel.org","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/e57e58bd390a6843db58560bf7b8341665d2e058"},{"sha":"fda3bec12d0979aae3f02ee645913d66fbc8a26e","author":{"email":"eaca123aeb461a7006558e7d3ce83b4ed2cb8ee9@intel.com","name":"CQ Tang"},"message":"iommu/vt-d: Fix 64-bit accesses to 32-bit DMAR_GSTS_REG\n\nThis is a 32-bit register. Apparently harmless on real hardware, but\ncausing justified warnings in simulation.\n\nSigned-off-by: CQ Tang <cq.tang@intel.com>\nSigned-off-by: David Woodhouse <David.Woodhouse@intel.com>\nCc: stable@vger.kernel.org","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/fda3bec12d0979aae3f02ee645913d66fbc8a26e"},{"sha":"ebea7c0545d4d5e554b84c3ee8072f13c3fdd2ba","author":{"email":"f2c659f01951776204a6c5b902787d9019fbeebd@arndb.de","name":"Arnd Bergmann"},"message":"spi: fix counting in spi-loopback-test code\n\nThese variables are always used uninitialized:\n\ndrivers/spi/spi-loopback-test.c: In function 'spi_test_run_iter':\ndrivers/spi/spi-loopback-test.c:768:17: warning: 'rx_count' may be used uninitialized in this function [-Wmaybe-uninitialized]\ndrivers/spi/spi-loopback-test.c:762:17: warning: 'tx_count' may be used uninitialized in this function [-Wmaybe-uninitialized]\n\nAdding an explicit initialization seems to be the only\nworkable solution here, to make the code behave correctly\nand build without warning.\n\nFixes: 84e0c4e5e2c4 (\"spi: add loopback test driver to allow for spi_master regression tests\")\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\nAcked-by: Geert Uytterhoeven <geert@linux-m68k.org>\nSigned-off-by: Mark Brown <broonie@kernel.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/ebea7c0545d4d5e554b84c3ee8072f13c3fdd2ba"},{"sha":"99222c9e4de7feb22c93b19a92b35fcdad73ed42","author":{"email":"d12d1fd8db71b3df9e8dd27813506a899c5fc8d3@rock-chips.com","name":"Xing Zheng"},"message":"clk: rockchip: rk3036: fix the FLAGs for clock mux\n\nThe DFLAGS are used for the clock dividers, the CLKSEL_CON flags\nof COMPOSITE_NODIV type should be MFLAGS.\n\nSigned-off-by: Xing Zheng <zhengxing@rock-chips.com>\nSigned-off-by: Heiko Stuebner <heiko@sntech.de>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/99222c9e4de7feb22c93b19a92b35fcdad73ed42"},{"sha":"b29de2de5049e064d172862b1feeddeb650c3ee8","author":{"email":"d12d1fd8db71b3df9e8dd27813506a899c5fc8d3@rock-chips.com","name":"Xing Zheng"},"message":"clk: rockchip: rk3036: fix uarts clock error\n\nDue to a copy-paste error the uart1 and uart2 clock div set\nincorrect, fix it.\n\nSigned-off-by: Xing Zheng <zhengxing@rock-chips.com>\nSigned-off-by: Heiko Stuebner <heiko@sntech.de>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/b29de2de5049e064d172862b1feeddeb650c3ee8"},{"sha":"c40519350e1d7db03e35e57509352c55948648ba","author":{"email":"d12d1fd8db71b3df9e8dd27813506a899c5fc8d3@rock-chips.com","name":"Xing Zheng"},"message":"clk: rockchip: rk3036: fix the div offset for emac clock\n\nDue to reference to old version TRM, there are incorrect emac clock node.\nThe SEL_21_9 is used for the parent div, the SEL_21_4 is used for the\nchild div.\n\nSigned-off-by: Xing Zheng <zhengxing@rock-chips.com>\nSigned-off-by: Heiko Stuebner <heiko@sntech.de>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/c40519350e1d7db03e35e57509352c55948648ba"},{"sha":"3d667920bc8fc0c3b39e4e740352d9367fa4916e","author":{"email":"d12d1fd8db71b3df9e8dd27813506a899c5fc8d3@rock-chips.com","name":"Xing Zheng"},"message":"clk: rockchip: rk3036: rename emac ext source clock\n\nThere is only support rmii in the RK3036, so we should use the correct\next clock name as described in the TRM.\n\nSigned-off-by: Xing Zheng <zhengxing@rock-chips.com>\n[update dt-binding document as well]\nSigned-off-by: Heiko Stuebner <heiko@sntech.de>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/3d667920bc8fc0c3b39e4e740352d9367fa4916e"},{"sha":"8931f8e02979e4180566907019d432527c80abf7","author":{"email":"271e1a51254e937f0b3e037325a6f6e4dbf91810@rock-chips.com","name":"Jianqun xu"},"message":"clk: rockchip: rk3368: fix some clock gates\n\nReference to the Rockchip RK3368 TRM v1.1, some clock\ngates need to be updated.\n\nSigned-off-by: Jianqun xu <jay.xu@rock-chips.com>\nSigned-off-by: Caesar Wang <wxt@rock-chips.com>\nSigned-off-by: Heiko Stuebner <heiko@sntech.de>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/8931f8e02979e4180566907019d432527c80abf7"},{"sha":"383bf44d1a8b18de5c26ec2a48c6822681b50984","author":{"email":"cbfd8e8fabdd2f11e58abb6fa6436d3d90debaf4@suse.cz","name":"Miroslav Benes"},"message":"livepatch: change the error message in asm/livepatch.h header files\n\nIf anyone includes asm/livepatch.h when CONFIG_LIVEPATCH=n the build\nfails with the existing error message. Change it to something saner.\n\n[jkosina@suse.cz: fixed changelog typo spotted by Josh]\nSuggested-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Miroslav Benes <mbenes@suse.cz>\nAcked-by: Josh Poimboeuf <jpoimboe@redhat.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/383bf44d1a8b18de5c26ec2a48c6822681b50984"},{"sha":"f8efca2f1783050368c71e978ee32d3aa692637b","author":{"email":"d30e8c735f4ec37736624e52f5fa5def660f6015@nxp.com","name":"Gao Pan"},"message":"spi: imx: fix spi resource leak with dma transfer\n\nIn spi_imx_dma_transfer(), when desc_rx = dmaengine_prep_slave_sg()\nfails, the context goes to label no_dma and then return. However,\nthe memory allocated for desc_tx has not been freed yet, which leads\nto resource leak.\n\nSigned-off-by: Gao Pan <pandy.gao@nxp.com>\nReviewed-by: Fugang Duan <B38611@freescale.com>\nSigned-off-by: Mark Brown <broonie@kernel.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/f8efca2f1783050368c71e978ee32d3aa692637b"},{"sha":"5cfa1e4e0deced0cccedb4b30facb8a8e68e209b","author":{"email":"ba553e8339227cb1468acc2e19a2075d65504180@freescale.com","name":"Hou Zhiqiang"},"message":"spi/fsl-espi: Correct the maximum transaction length\n\nThe maximum length during one transcation is 64KiB.\n\nSigned-off-by: Hou Zhiqiang <B48286@freescale.com>\nSigned-off-by: Mark Brown <broonie@kernel.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/5cfa1e4e0deced0cccedb4b30facb8a8e68e209b"},{"sha":"21e4903246029e221ee92e3be3653f2805fac898","author":{"email":"9c6f026f68ffecc44f215af186ef513cd72b6ce4@nvidia.com","name":"Rhyland Klein"},"message":"clk: tegra: Fix divider on VI_I2C\n\nVI-I2C has 16 bits available for its divider. Switch the divider width\nto 16 instead of 8 so correct rates can be set.\n\nSigned-off-by: Rhyland Klein <rklein@nvidia.com>\nSigned-off-by: Thierry Reding <treding@nvidia.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/21e4903246029e221ee92e3be3653f2805fac898"},{"sha":"14050118afee4d8bd81d22fefa3e986172b08bc6","author":{"email":"9c6f026f68ffecc44f215af186ef513cd72b6ce4@nvidia.com","name":"Rhyland Klein"},"message":"clk: tegra: Remove improper flags for lock_enable\n\nMost PLL's don't actually have LOCK_ENABLE bits. However, most PLL's\nalso had that flag set, which meant that the clk code was trying to\nenable locks, and inadvertantly flipping bits in other fields.\n\nFor PLLM, ensure the correct register is used for the misc_register.\nPLL_MISC0 contains the EN_LCKDET bit which should be used for enabling\nthe lock, and PLLM_MISC1 shouldn't be used at all.\n\nLastly, remove some of the settings which would point to the EN_LCKDET\nbits for some PLLs. There is no need to enable the locks, and that is\ndone as part of the set_defaults logic already.\n\nSigned-off-by: Rhyland Klein <rklein@nvidia.com>\nSigned-off-by: Thierry Reding <treding@nvidia.com>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/14050118afee4d8bd81d22fefa3e986172b08bc6"},{"sha":"3a5242e648a8d009f0e0fd47867592e5265374b6","author":{"email":"378b411a8a63ecc7605ec4272234862d7781c6ae@socionext.com","name":"Masahiro Yamada"},"message":"pinctrl: pxa: export pxa2xx_pinctrl_init()\n\nBuilding pinctrl-pxa27x.c as a module causes a link error:\n\nERROR: \"pxa2xx_pinctrl_init\" [drivers/pinctrl/pxa/pinctrl-pxa27x.ko] undefined!\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\nAcked-by: Robert Jarzmik <robert.jarzmik@free.fr>\nSigned-off-by: Linus Walleij <linus.walleij@linaro.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/3a5242e648a8d009f0e0fd47867592e5265374b6"},{"sha":"39178bb2b3e78cfcb9b6311fa9e2b8d6e3cfe51f","author":{"email":"f2c659f01951776204a6c5b902787d9019fbeebd@arndb.de","name":"Arnd Bergmann"},"message":"pinctrl: nomadik: hide unused functions\n\nThe nomadik pinctrl driver has two functions that are only used\nfor debugfs output and are otherwise unused:\n\ndrivers/pinctrl/nomadik/pinctrl-abx500.c:194:12: error: 'abx500_get_pull_updown' defined but not used\ndrivers/pinctrl/nomadik/pinctrl-abx500.c:471:12: error: 'abx500_get_mode' defined but not used\n\nThis makes the function definitions conditional to avoid the\nharmless warnings.\n\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\nSigned-off-by: Linus Walleij <linus.walleij@linaro.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/39178bb2b3e78cfcb9b6311fa9e2b8d6e3cfe51f"},{"sha":"70f340df24518d36eeaefb6652d492f250115c19","author":{"email":"e50fad4ce891c9ba2f33288a3659adde668ff62d@atmel.com","name":"Cyrille Pitchen"},"message":"spi: atmel: fix gpio chip-select in case of non-DT platform\n\nThe non-DT platform that uses this driver (actually the AVR32) was taking a bad\nbranch for determining if the IP would use gpio for CS.\nAdding the presence of DT as a condition fixes this issue.\n\nFixes: 4820303480a1 (\"spi: atmel: add support for the internal chip-select of the spi controller\")\nReported-by: Mans Rullgard <mans@mansr.com>\nSigned-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>\n[nicolas.ferre@atmel.com: extract from ml discussion]\nSigned-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>\nTested-by: Mans Rullgard <mans@mansr.com>\nSigned-off-by: Mark Brown <broonie@kernel.org>\nCc: stable@vger.kernel.org","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/70f340df24518d36eeaefb6652d492f250115c19"},{"sha":"1ce133ec89027dc2dff6d0784564da27f1c21fdc","author":{"email":"010521127f513270fe503d86ab8316ac5147f4b7@codeaurora.org","name":"Stephen Boyd"},"message":"clk: mvebu: Mark ioremapped memory as __iomem\n\nSilence the following sparse warning\n\ndrivers/clk/mvebu/dove-divider.c:252:14: warning: incorrect type in assignment (different address spaces)\ndrivers/clk/mvebu/dove-divider.c:252:14:    expected void *base\ndrivers/clk/mvebu/dove-divider.c:252:14:    got void [noderef] <asn:2>*\ndrivers/clk/mvebu/dove-divider.c:256:13: warning: incorrect type in argument 2 (different address spaces)\ndrivers/clk/mvebu/dove-divider.c:256:13:    expected void [noderef] <asn:2>*base\ndrivers/clk/mvebu/dove-divider.c:256:13:    got void *base\ndrivers/clk/mvebu/dove-divider.c:257:25: warning: incorrect type in argument 1 (different address spaces)\ndrivers/clk/mvebu/dove-divider.c:257:25:    expected void volatile [noderef] <asn:2>*iomem_cookie\ndrivers/clk/mvebu/dove-divider.c:257:25:    got void *base\n\nCc: Russell King <rmk+kernel@arm.linux.org.uk>\nSigned-off-by: Stephen Boyd <sboyd@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/1ce133ec89027dc2dff6d0784564da27f1c21fdc"},{"sha":"d22eb66b3cc3d7d486bc9fa8c6fdbce197eede5f","author":{"email":"b6ffd6973e972cb999e8e535ab74da7fee0c035f@ingics.com","name":"Axel Lin"},"message":"clk: scpi: Fix checking return value of platform_device_register_simple()\n\nplatform_device_register_simple() returns ERR_PTR on error.\n\nSigned-off-by: Axel Lin <axel.lin@ingics.com>\nSigned-off-by: Stephen Boyd <sboyd@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/d22eb66b3cc3d7d486bc9fa8c6fdbce197eede5f"},{"sha":"eac2d86d60449bc9852f94853cc156897fe9e893","author":{"email":"e8ecd50269554a5fc819b376649b50fa69c4ae76@sigmadesigns.com","name":"Marc Gonzalez"},"message":"clk: tango4: rename ARCH_TANGOX to ARCH_TANGO\n\nRequested by arm-soc maintainer Kevin Hilman in v9 review.\nhttp://article.gmane.org/gmane.linux.ports.arm.kernel/456331\n\nSigned-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>\nSigned-off-by: Stephen Boyd <sboyd@codeaurora.org>","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/eac2d86d60449bc9852f94853cc156897fe9e893"},{"sha":"60c7e2d2edc7a2a3613540e18760a713359946f6","author":{"email":"010521127f513270fe503d86ab8316ac5147f4b7@codeaurora.org","name":"Stephen Boyd"},"message":"Merge tag 'v4.5-rockchip-clkfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-fixes\n\nPull rockchip fixes from Heiko Stuebner:\n\nFixes for wrong register offsets in both rk3036 and rk3368.\nAlso rename the external input for the emac on rk3036, which\nshould still be ok to do, as that binding was only introduced\nduring this merge-window.\n\n* tag 'v4.5-rockchip-clkfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:\n  clk: rockchip: rk3368: fix some clock gates\n  clk: rockchip: rk3036: rename emac ext source clock\n  clk: rockchip: rk3036: fix the div offset for emac clock\n  clk: rockchip: rk3036: fix uarts clock error\n  clk: rockchip: rk3036: fix the FLAGs for clock mux","distinct":false,"url":"https://api.github.com/repos/goldelico/gta04-kernel/commits/60c7e2d2edc7a2a3613540e18760a713359946f6"}]}