18 Jan, 2017

1 commit

  • Make it clear that the core bridge/dw_hdmi.txt document isn't a device
    tree binding by itself but is meant to be referenced by platform device
    tree bindings, and update the Rockchip and Freescale DWC HDMI TX
    bindings to reference it.

    Signed-off-by: Laurent Pinchart
    Acked-by: Rob Herring
    Signed-off-by: Archit Taneja
    Link: http://patchwork.freedesktop.org/patch/msgid/20170117082910.27023-21-laurent.pinchart+renesas@ideasonboard.com

    Laurent Pinchart
     

17 Jan, 2017

1 commit


10 Jan, 2017

3 commits

  • Notice that this uncovers an issue with the kernel-doc handling of array
    arguments, causing the first parameter of drm_clflush_pages() to not
    show up in the rst-generated page. A proposed fix is under review in
    linux-doc:

    Changes since v1:
    - Add section to drm-mm.rst.
    - Fix kernel-doc style issues.
    - s/memory/kernel memory/.

    Signed-off-by: Gabriel Krisman Bertazi
    Reviewed-by: Alex Deucher
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/20170109215649.6860-1-krisman@collabora.co.uk

    Gabriel Krisman Bertazi
     
  • Back to regular -misc pulls with reasonable sizes:
    - dma_fence error clarification (Chris)
    - drm_crtc_from_index helper (Shawn), pile more patches on the m-l to roll
    this out to drivers
    - mmu-less support for fbdev helpers from Benjamin
    - piles of kerneldoc work
    - some polish for crc support from Tomeu and Benjamin
    - odd misc stuff all over

    * tag 'drm-misc-next-2017-01-09' of git://anongit.freedesktop.org/git/drm-misc: (48 commits)
    dma-fence: Introduce drm_fence_set_error() helper
    dma-fence: Wrap querying the fence->status
    dma-fence: Clear fence->status during dma_fence_init()
    drm: fix compilations issues introduced by "drm: allow to use mmuless SoC"
    drm: Change the return type of the unload hook to void
    drm: add more document for drm_crtc_from_index()
    drm: remove useless parameters from drm_pick_cmdline_mode function
    drm: crc: Call wake_up_interruptible() each time there is a new CRC entry
    drm: allow to use mmuless SoC
    drm: compile drm_vm.c only when needed
    fbmem: add a default get_fb_unmapped_area function
    drm: crc: Wait for a frame before returning from open()
    drm: Move locking into drm_debugfs_crtc_crc_add
    drm/imx: imx-tve: Remove unused variable
    Revert "drm: nouveau: fix build when LEDS_CLASS=m"
    drm: Add kernel-doc for drm_crtc_commit_get/put
    drm/atomic: Fix outdated comment.
    drm: reference count event->completion
    gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap
    drm: Document deprecated load/unload hook
    ...

    Dave Airlie
     
  • More 4.11 stuff, holidays edition (i.e. not much):

    - docs and cleanups for shared dpll code (Ander)
    - some kerneldoc work (Chris)
    - fbc by default on gen9+ too, yeah! (Paulo)
    - fixes, polish and other small things all over gem code (Chris)
    - and a few small things on top

    Plus a backmerge, because Dave was enjoying time off too.

    * tag 'drm-intel-next-2017-01-09' of git://anongit.freedesktop.org/git/drm-intel: (275 commits)
    drm/i915: Update DRIVER_DATE to 20170109
    drm/i915: Drain freed objects for mmap space exhaustion
    drm/i915: Purge loose pages if we run out of DMA remap space
    drm/i915: Fix phys pwrite for struct_mutex-less operation
    drm/i915: Simplify testing for am-I-the-kernel-context?
    drm/i915: Use range_overflows()
    drm/i915: Use fixed-sized types for stolen
    drm/i915: Use phys_addr_t for the address of stolen memory
    drm/i915: Consolidate checks for memcpy-from-wc support
    drm/i915: Only skip requests once a context is banned
    drm/i915: Move a few more utility macros to i915_utils.h
    drm/i915: Clear ret before unbinding in i915_gem_evict_something()
    drm/i915/guc: Exclude the upper end of the Global GTT for the GuC
    drm/i915: Move a few utility macros into a separate header
    drm/i915/execlists: Reorder execlists register enabling
    drm/i915: Assert that we do create the deferred context
    drm/i915: Assert all timeline requests are gone before fini
    drm/i915: Revoke fenced GTT mmapings across GPU reset
    drm/i915: enable FBC on gen9+ too
    drm/i915: actually drive the BDW reserved IDs
    ...

    Dave Airlie
     

09 Jan, 2017

1 commit

  • First -misc pull for 4.11:
    - drm_mm rework + lots of selftests (Chris Wilson)
    - new connector_list locking+iterators
    - plenty of kerneldoc updates
    - format handling rework from Ville
    - atomic helper changes from Maarten for better plane corner-case handling
    in drivers, plus the i915 legacy cursor patch that needs this
    - bridge cleanup from Laurent
    - plus plenty of small stuff all over
    - also contains a merge of the 4.10 docs tree so that we could apply the
    dma-buf kerneldoc patches

    It's a lot more than usual, but due to the merge window blackout it also
    covers about 4 weeks, so all in line again on a per-week basis. The more
    annoying part with no pull request for 4 weeks is managing cross-tree
    work. The -intel pull request I'll follow up with does conflict quite a
    bit with -misc here. Longer-term (if drm-misc keeps growing) a
    drm-next-queued to accept pull request for the next merge window during
    this time might be useful.

    I'd also like to backmerge -rc2+this into drm-intel next week, we have
    quite a pile of patches waiting for the stuff in here.

    * tag 'drm-misc-next-2016-12-30' of git://anongit.freedesktop.org/git/drm-misc: (126 commits)
    drm: Add kerneldoc markup for new @scan parameters in drm_mm
    drm/mm: Document locking rules
    drm: Use drm_mm_insert_node_in_range_generic() for everyone
    drm: Apply range restriction after color adjustment when allocation
    drm: Wrap drm_mm_node.hole_follows
    drm: Apply tight eviction scanning to color_adjust
    drm: Simplify drm_mm scan-list manipulation
    drm: Optimise power-of-two alignments in drm_mm_scan_add_block()
    drm: Compute tight evictions for drm_mm_scan
    drm: Fix application of color vs range restriction when scanning drm_mm
    drm: Unconditionally do the range check in drm_mm_scan_add_block()
    drm: Rename prev_node to hole in drm_mm_scan_add_block()
    drm: Fix O= out-of-tree builds for selftests
    drm: Extract struct drm_mm_scan from struct drm_mm
    drm: Add asserts to catch overflow in drm_mm_init() and drm_mm_init_scan()
    drm: Simplify drm_mm_clean()
    drm: Detect overflow in drm_mm_reserve_node()
    drm: Fix kerneldoc for drm_mm_scan_remove_block()
    drm: Promote drm_mm alignment to u64
    drm: kselftest for drm_mm and restricted color eviction
    ...

    Dave Airlie
     

07 Jan, 2017

4 commits

  • Pull VFIO fixes from Alex Williamson:
    - Add mtty sample driver properly into build system (Alex Williamson)
    - Restore type1 mapping performance after mdev (Alex Williamson)
    - Fix mdev device race (Alex Williamson)
    - Cleanups to the mdev ABI used by vendor drivers (Alex Williamson)
    - Build fix for old compilers (Arnd Bergmann)
    - Fix sample driver error path (Dan Carpenter)
    - Handle pci_iomap() error (Arvind Yadav)
    - Fix mdev ioctl return type (Paul Gortmaker)

    * tag 'vfio-v4.10-rc3' of git://github.com/awilliam/linux-vfio:
    vfio-mdev: fix non-standard ioctl return val causing i386 build fail
    vfio-pci: Handle error from pci_iomap
    vfio-mdev: fix some error codes in the sample code
    vfio-pci: use 32-bit comparisons for register address for gcc-4.5
    vfio-mdev: Make mdev_device private and abstract interfaces
    vfio-mdev: Make mdev_parent private
    vfio-mdev: de-polute the namespace, rename parent_device & parent_ops
    vfio-mdev: Fix remove race
    vfio/type1: Restore mapping performance with mdev support
    vfio-mdev: Fix mtty sample driver building

    Linus Torvalds
     
  • Pull swiotlb fixes from Konrad Rzeszutek Wilk:
    "This has one fix to make i915 work when using Xen SWIOTLB, and a
    feature from Geert to aid in debugging of devices that can't do DMA
    outside the 32-bit address space.

    The feature from Geert is on top of v4.10 merge window commit
    (specifically you pulling my previous branch), as his changes were
    dependent on the Documentation/ movement patches.

    I figured it would just easier than me trying than to cherry-pick the
    Documentation patches to satisfy git.

    The patches have been soaking since 12/20, albeit I updated the last
    patch due to linux-next catching an compiler error and adding an
    Tested-and-Reported-by tag"

    * 'stable/for-linus-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb:
    swiotlb: Export swiotlb_max_segment to users
    swiotlb: Add swiotlb=noforce debug option
    swiotlb: Convert swiotlb_force from int to enum
    x86, swiotlb: Simplify pci_swiotlb_detect_override()

    Linus Torvalds
     
  • Pull ACPI fixes from Rafael Wysocki:
    "These fix a device enumeration problem related to _ADR matching and an
    IOMMU initialization issue related to the DMAR table missing, remove
    an excessive function call from the core ACPI code, update an error
    message in the ACPI WDAT watchdog driver and add a way to work around
    problems with unhandled GPE notifications.

    Specifics:

    - Fix a device enumeration issue leading to incorrect associations
    between ACPI device objects and platform device objects
    representing physical devices if the given device object has both
    _ADR and _HID (Rafael Wysocki).

    - Avoid passing NULL to acpi_put_table() during IOMMU initialization
    which triggers a (rightful) warning from ACPICA (Rafael Wysocki).

    - Drop an excessive call to acpi_dma_deconfigure() from the core code
    that binds ACPI device objects to device objects representing
    physical devices (Lorenzo Pieralisi).

    - Update an error message in the ACPI WDAT watchdog driver to make it
    provide more useful information (Mika Westerberg).

    - Add a mechanism to work around issues with unhandled GPE
    notifications that occur during system initialization and cannot be
    prevented by means of sysfs (Lv Zheng)"

    * tag 'acpi-4.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    ACPI / DMAR: Avoid passing NULL to acpi_put_table()
    ACPI / scan: Prefer devices without _HID/_CID for _ADR matching
    ACPI / watchdog: Print out error number when device creation fails
    ACPI / sysfs: Provide quirk mechanism to prevent GPE flooding
    ACPI: Drop misplaced acpi_dma_deconfigure() call from acpi_bind_one()

    Linus Torvalds
     
  • Pull power management fixes from Rafael Wysocki:
    "These fix a few issues in the intel_pstate driver, a documetation
    issue, a false-positive compiler warning in the generic power domains
    framework and two problems in the devfreq subsystem. They also update
    the MAINTAINERS entry for devfreq and add a new "compatible" string to
    the generic cpufreq-dt driver.

    Specifics:

    - Fix a few intel_pstate driver issues: add missing locking it two
    places, avoid exposing a useless debugfs interface and keep the
    attribute values in sysfs in sync (Rafael Wysocki).

    - Drop confusing kernel-doc references related to power management
    and ACPI from the driver API manual (Rafael Wysocki).

    - Make a false-positive compiler warning in the generic power domains
    framework go away (Augusto Mecking Caringi).

    - Fix two initialization issues in the devfreq subsystem and update
    the MAINTAINERS entry for it (Chanwoo Choi).

    - Add a new "compatible" string for APM X-Gene 2 to the generic DT
    cpufreq driver (Hoan Tran)"

    * tag 'pm-4.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpufreq: dt: Add support for APM X-Gene 2
    PM / devfreq: exynos-bus: Fix the wrong return value
    PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL
    MAINTAINERS: Add myself as reviewer for DEVFREQ subsystem support
    PM / docs: Drop confusing kernel-doc references from infrastructure.rst
    PM / domains: Fix 'may be used uninitialized' build warning
    cpufreq: intel_pstate: Always keep all limits settings in sync
    cpufreq: intel_pstate: Use locking in intel_cpufreq_verify_policy()
    cpufreq: intel_pstate: Use locking in intel_pstate_resume()
    cpufreq: intel_pstate: Do not expose PID parameters in passive mode

    Linus Torvalds
     

06 Jan, 2017

3 commits

  • * acpi-scan:
    ACPI / scan: Prefer devices without _HID/_CID for _ADR matching
    ACPI: Drop misplaced acpi_dma_deconfigure() call from acpi_bind_one()

    * acpi-sysfs:
    ACPI / sysfs: Provide quirk mechanism to prevent GPE flooding

    * acpi-wdat:
    ACPI / watchdog: Print out error number when device creation fails

    * acpi-tables:
    ACPI / DMAR: Avoid passing NULL to acpi_put_table()

    Rafael J. Wysocki
     
  • Some SoC without MMU have display driver where a drm/kms driver
    could be implemented.

    Before doing such kind of thing drm/kms must allow to use mmuless devices.
    This patch propose to remove MMU configuration flag and add a cma helper
    function to help implementing mmuless display driver

    version 4:
    - add documentation about drm_gem_cma_get_unmapped_area()
    - stub it MMU case

    Signed-off-by: Benjamin Gaignard
    [danvet: Use recommended struct member references in kernel-doc.]
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/1483521177-21794-4-git-send-email-benjamin.gaignard@linaro.org

    Benjamin Gaignard
     
  • Pull ARM SoC fixes from Arnd Bergmann:
    "This is a rather large set of bugfixes, as we just returned from the
    Christmas break. Most of these are relatively unimportant fixes for
    regressions introduced during the merge window, and about half of the
    changes are for mach-omap2.

    A couple of patches are just cleanups and dead code removal that I
    would not normally have considered for merging after -rc2, but I
    decided to take them along with the fixes this time.

    Notable fixes include:

    - removing the skeleton.dtsi include broke a number of machines, and
    we have to put empty /chosen nodes back to be able to pass kernel
    command lines as before

    - enabling Samsung platforms no longer hardwires CONFIG_HZ to 200, as
    it had been for no good reason for a long time"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (46 commits)
    MAINTAINERS: extend PSCI entry to cover the newly add PSCI checker code
    drivers: psci: annotate timer on stack to silence odebug messages
    ARM64: defconfig: enable DRM_MESON as module
    ARM64: dts: meson-gx: Add Graphic Controller nodes
    ARM64: dts: meson-gxl: fix GPIO include
    ARM: dts: imx6: Disable "weim" node in the dtsi files
    ARM: dts: qcom: apq8064: Add missing scm clock
    ARM: davinci: da8xx: Fix sleeping function called from invalid context
    ARM: davinci: Make __clk_{enable,disable} functions public
    ARM: davinci: da850: don't add emac clock to lookup table twice
    ARM: davinci: da850: fix infinite loop in clk_set_rate()
    ARM: i.MX: remove map_io callback
    ARM: dts: vf610-zii-dev-rev-b: Add missing newline
    ARM: dts: imx6qdl-nitrogen6x: remove duplicate iomux entry
    ARM: dts: imx31: fix AVIC base address
    ARM: dts: am572x-idk: Add gpios property to control PCIE_RESETn
    arm64: dts: vexpress: Support GICC_DIR operations
    ARM: dts: vexpress: Support GICC_DIR operations
    firmware: arm_scpi: fix reading sensor values on pre-1.0 SCPI firmwares
    arm64: dts: msm8996: Add required memory carveouts
    ...

    Linus Torvalds
     

05 Jan, 2017

2 commits

  • Pull networking fixes from David Miller:

    1) stmmac_drv_probe() can race with stmmac_open() because we register
    the netdevice too early. Fix from Florian Fainelli.

    2) UFO handling in __ip6_append_data() and ip6_finish_output() use
    different tests for deciding whether a frame will be fragmented or
    not, put them in sync. Fix from Zheng Li.

    3) The rtnetlink getstats handlers need to validate that the netlink
    request is large enough, fix from Mathias Krause.

    4) Use after free in mlx4 driver, from Jack Morgenstein.

    5) Fix setting of garbage UID value in sockets during setattr() calls,
    from Eric Biggers.

    6) Packet drop_monitor doesn't format the netlink messages properly
    such that nlmsg_next fails to work, fix from Reiter Wolfgang.

    7) Fix handling of wildcard addresses in l2tp lookups, from Guillaume
    Nault.

    8) __skb_flow_dissect() can crash on pptp packets, from Ian Kumlien.

    9) IGMP code doesn't reset group query timers properly, from Michal
    Tesar.

    10) Fix overzealous MAIN/LOCAL route table combining in ipv4, from
    Alexander Duyck.

    11) vxlan offload check needs to be more strict in be2net driver, from
    Sabrina Dubroca.

    12) Moving l3mdev to packet hooks lost RX stat counters unintentionally,
    fix from David Ahern.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (52 commits)
    sh_eth: enable RX descriptor word 0 shift on SH7734
    sfc: don't report RX hash keys to ethtool when RSS wasn't enabled
    dpaa_eth: Initialize CGR structure before init
    dpaa_eth: cleanup after init_phy() failure
    net: systemport: Pad packet before inserting TSB
    net: systemport: Utilize skb_put_padto()
    LiquidIO VF: s/select/imply/ for PTP_1588_CLOCK
    libcxgb: fix error check for ip6_route_output()
    net: usb: asix_devices: add .reset_resume for USB PM
    net: vrf: Add missing Rx counters
    drop_monitor: consider inserted data in genlmsg_end
    benet: stricter vxlan offloading check in be_features_check
    ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
    net: macb: Updated resource allocation function calls to new version of API.
    net: stmmac: dwmac-oxnas: use generic pm implementation
    net: stmmac: dwmac-oxnas: fix fixed-link-phydev leaks
    net: stmmac: dwmac-oxnas: fix of-node leak
    Documentation/networking: fix typo in mpls-sysctl
    igmp: Make igmp group member RFC 3376 compliant
    flow_dissector: Update pptp handling to avoid null pointer deref.
    ...

    Linus Torvalds
     
  • Pull block layer fixes from Jens Axboe:
    "A set of fixes for the current series, one fixing a regression with
    block size < page cache size in the alias series from Jan. Outside of
    that, two small cleanups for wbt from Bart, a nvme pull request from
    Christoph, and a few small fixes of documentation updates"

    * 'for-linus' of git://git.kernel.dk/linux-block:
    block: fix up io_poll documentation
    block: Avoid that sparse complains about context imbalance in __wbt_wait()
    block: Make wbt_wait() definition consistent with declaration
    clean_bdev_aliases: Prevent cleaning blocks that are not in block range
    genhd: remove dead and duplicated scsi code
    block: add back plugging in __blkdev_direct_IO
    nvmet/fcloop: remove some logically dead code performing redundant ret checks
    nvmet: fix KATO offset in Set Features
    nvme/fc: simplify error handling of nvme_fc_create_hw_io_queues
    nvme/fc: correct some printk information
    nvme/scsi: Remove START STOP emulation
    nvme/pci: Delete misleading queue-wrap comment
    nvme/pci: Fix whitespace problem
    nvme: simplify stripe quirk
    nvme: update maintainers information

    Linus Torvalds
     

04 Jan, 2017

4 commits

  • …l/git/tmlind/linux-omap into fixes

    Pull "omap fixes for v4.10-rc cycle" from Tony Lindgren:

    Fist set of fixes for omaps for v4.10-rc cycle, mostly
    to deal with various regressions noticed during the merge
    window and to fix various device tree configurations for
    boards. Also included is removal of mach-omap2/gpio.c that
    is now dead code with device tree based booting that should
    be OK for the early -rc cycle:

    - A series of fixes to add empty chosen node to fix regressions
    caused for bootloaders that don't create chosen node as the
    decompressor needs the chosen node to merge command line and
    ATAGs into it

    - Fix missing logicpd-som-lv-37xx-devkit.dtb entry in Makefile

    - Fix regression for am437x timers

    - Fix wrong strcat for non-NULL terminated string

    - A series of changes to fix tps65217 interrupts to not use
    defines as we don't do that for interrupts

    - Two patches to fix USB VBUS detection on am57xx-idk and force it
    to peripheral mode until dwc3 role detection is working

    - Add missing dra72-evm-tps65917 missing voltage supplies
    accidentally left out of an earlier patch

    - Fix n900 eMMC detection when booted on qemu

    - Remove unwanted pr_err on failed memory allocation for
    prm_common.c

    - Remove legacy mach-omap2/gpio.c that now is dead code
    since we boot mach-omap2 in device tree only mode

    - Fix am572x-idk pcie1 by adding the missing gpio reset pin

    * tag 'omap-for-v4.10/fixes-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (23 commits)
    ARM: dts: am572x-idk: Add gpios property to control PCIE_RESETn
    ARM: OMAP2+: PRM: Delete an error message for a failed memory allocation
    ARM: dts: n900: Mark eMMC slot with no-sdio and no-sd flags
    ARM: dts: dra72-evm-tps65917: Add voltage supplies to usb_phy, mmc, dss
    ARM: dts: am57xx-idk: Put USB2 port in peripheral mode
    ARM: dts: am57xx-idk: Support VBUS detection on USB2 port
    dt-bindings: input: Specify the interrupt number of TPS65217 power button
    dt-bindings: power/supply: Update TPS65217 properties
    dt-bindings: mfd: Remove TPS65217 interrupts
    ARM: dts: am335x: Fix the interrupt name of TPS65217
    ARM: omap2+: fixing wrong strcat for Non-NULL terminated string
    ARM: omap2+: am437x: rollback to use omap3_gptimer_timer_init()
    ARM: dts: omap3: Add DTS for Logic PD SOM-LV 37xx Dev Kit
    ARM: dts: dra7: Add an empty chosen node to top level DTSI
    ARM: dts: dm816x: Add an empty chosen node to top level DTSI
    ARM: dts: dm814x: Add an empty chosen node to top level DTSI
    ARM: dts: am4372: Add an empty chosen node to top level DTSI
    ARM: dts: am33xx: Add an empty chosen node to top level DTSI
    ARM: dts: omap5: Add an empty chosen node to top level DTSI
    ARM: dts: omap4: Add an empty chosen node to top level DTSI
    ...

    Arnd Bergmann
     
  • …sc into drm-intel-next-queued

    Directly merge drm-misc into drm-intel since Dave is on vacation and
    we need the various drm-misc patches (fb format rework, drm mm fixes,
    selftest framework and others). Also pulled back -rc2 in first to
    resync with drm-intel-fixes and make sure I can reuse the exact rerere
    solutions from drm-tip for safety, and because I'm lazy.

    Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>

    Daniel Vetter
     
  • Backmerge Linux 4.10-rc2 to resync with our -fixes cherry-picks. I've
    done the backmerge directly because Dave is on vacation.

    Signed-off-by: Daniel Vetter

    Daniel Vetter
     
  • /sys/block//queue/io_poll is a boolean. Fix the docs.

    Signed-off-by: Jeff Moyer
    Signed-off-by: Jens Axboe

    Jeff Moyer
     

03 Jan, 2017

2 commits


30 Dec, 2016

7 commits

  • Rather than hoping for good behavior by marking some elements
    internal, enforce it by making the entire structure private and
    creating an accessor function for the one useful external field.

    Cc: Zhenyu Wang
    Cc: Zhi Wang
    Cc: Jike Song
    Signed-off-by: Alex Williamson
    Reviewed by: Kirti Wankhede

    Alex Williamson
     
  • Add an mdev_ prefix so we're not poluting the namespace so much.

    Cc: Zhenyu Wang
    Cc: Zhi Wang
    Cc: Jike Song
    Signed-off-by: Alex Williamson
    Reviewed by: Kirti Wankhede

    Alex Williamson
     
  • The new cool is &struct foo (kernel-doc now copes with linebreaks),
    and structure members should be referenced using &foo.bar.

    Cc: Jani Nikula
    Cc: Chris Wilson
    Reviewed-by: David Herrmann
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-8-git-send-email-daniel.vetter@ffwll.ch

    Daniel Vetter
     
  • Added some boilerplate for the structs, documented members where they
    are relevant and plenty of markup for hyperlinks all over. And a few
    small wording polish.

    Note that the intro needs some more love after the DRM_MM_INSERT_*
    patch from Chris has landed.

    v2: Spelling fixes (Chris).

    v3: Use &struct foo instead of &foo structure (Chris).

    Cc: Chris Wilson
    Cc: Joonas Lahtinen
    Reviewed-by: David Herrmann
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-3-git-send-email-daniel.vetter@ffwll.ch

    Daniel Vetter
     
  • - Remove the outdated hunk about driver documentation which somehow
    got misplaced here in the split-up.

    - Collect all the testing&validation stuff together and give the CRC
    section a heading for prettier output.

    Cc: Tomeu Vizoso
    Cc: Jani Nikula
    Reviewed-by: David Herrmann
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-1-git-send-email-daniel.vetter@ffwll.ch

    Daniel Vetter
     
  • ttm_global_reference was renamed to drm_global_reference. This updates
    the documentation to reflect that. While we are there, document the
    drm_global_reference API and update the initialization interface
    documentation.

    Signed-off-by: Gabriel Krisman Bertazi
    [danvet: Keep the warning, ttm docs are still massively inadequate.]
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/20161228143216.26821-7-krisman@collabora.co.uk

    Gabriel Krisman Bertazi
     
  • The documentation for most of the non-static members and structs were
    missing. Fix that.

    v2: Fix typos (Durga)

    v3: Rebase.
    Fix make docs warnings.
    Document more.

    v4: capitilize CRTC; say that the prepare hook is a nop if the DPLL is
    already enabled; link to struct intel_dpll_hw_state from @hw_state
    field in struct intel_shared_dpll_state; reorganize DPLL flags; link
    intel_shared_dpll_state to other structs and functions. (Daniel)

    Signed-off-by: Ander Conselvan de Oliveira
    Reviewed-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/1483024933-3726-6-git-send-email-ander.conselvan.de.oliveira@intel.com

    Ander Conselvan de Oliveira
     

29 Dec, 2016

1 commit

  • Our style guide should only be the delta compared to the overall one.

    Cc: Chris Wilson
    Reviewed-by: Chris Wilson
    Signed-off-by: Daniel Vetter
    Link: http://patchwork.freedesktop.org/patch/msgid/1483008275-29383-1-git-send-email-daniel.vetter@ffwll.ch

    Daniel Vetter
     

28 Dec, 2016

4 commits


27 Dec, 2016

1 commit

  • Sometimes, the users may require a quirk to be provided from ACPI subsystem
    core to prevent a GPE from flooding.
    Normally, if a GPE cannot be dispatched, ACPICA core automatically prevents
    the GPE from firing. But there are cases the GPE is dispatched by _Lxx/_Exx
    provided via AML table, and OSPM is lacking of the knowledge to get
    _Lxx/_Exx correctly executed to handle the GPE, thus the GPE flooding may
    still occur.

    The existing quirk mechanism can be enabled/disabled using the following
    commands to prevent such kind of GPE flooding during runtime:
    # echo mask > /sys/firmware/acpi/interrupts/gpe00
    # echo unmask > /sys/firmware/acpi/interrupts/gpe00
    To avoid GPE flooding during boot, we need a boot stage mechanism.

    This patch provides such a boot stage quirk mechanism to stop this kind of
    GPE flooding. This patch doesn't fix any feature gap but since the new
    feature gaps could be found in the future endlessly, and can disappear if
    the feature gaps are filled, providing a boot parameter rather than a DMI
    table should suffice.

    Link: https://bugzilla.kernel.org/show_bug.cgi?id=53071
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=117481
    Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/887793
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     

24 Dec, 2016

3 commits

  • Pull x86 fixes from Ingo Molnar:
    "There's a number of fixes:

    - a round of fixes for CPUID-less legacy CPUs
    - a number of microcode loader fixes
    - i8042 detection robustization fixes
    - stack dump/unwinder fixes
    - x86 SoC platform driver fixes
    - a GCC 7 warning fix
    - virtualization related fixes"

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
    Revert "x86/unwind: Detect bad stack return address"
    x86/paravirt: Mark unused patch_default label
    x86/microcode/AMD: Reload proper initrd start address
    x86/platform/intel/quark: Add printf attribute to imr_self_test_result()
    x86/platform/intel-mid: Switch MPU3050 driver to IIO
    x86/alternatives: Do not use sync_core() to serialize I$
    x86/topology: Document cpu_llc_id
    x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
    x86/asm: Rewrite sync_core() to use IRET-to-self
    x86/microcode/intel: Replace sync_core() with native_cpuid()
    Revert "x86/boot: Fail the boot if !M486 and CPUID is missing"
    x86/asm/32: Make sync_core() handle missing CPUID on all 32-bit kernels
    x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
    x86/tools: Fix gcc-7 warning in relocs.c
    x86/unwind: Dump stack data on warnings
    x86/unwind: Adjust last frame check for aligned function stacks
    x86/init: Fix a couple of comment typos
    x86/init: Remove i8042_detect() from platform ops
    Input: i8042 - Trust firmware a bit more when probing on X86
    x86/init: Add i8042 state to the platform data
    ...

    Linus Torvalds
     
  • Pull late SCSI updates from James Bottomley:
    "This is mostly stuff which missed the initial pull.

    There's a new driver: qedi, and some ufs, ibmvscsis and ncr5380
    updates plus some assorted driver fixes and also a fix for the bug
    where if a device goes into a blocked state between configuration and
    sysfs device add (which can be a long time under async probing) it
    would become permanently blocked"

    * tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (30 commits)
    scsi: avoid a permanent stop of the scsi device's request queue
    scsi: mpt3sas: Recognize and act on iopriority info
    scsi: qla2xxx: Fix Target mode handling with Multiqueue changes.
    scsi: qla2xxx: Add Block Multi Queue functionality.
    scsi: qla2xxx: Add multiple queue pair functionality.
    scsi: qla2xxx: Utilize pci_alloc_irq_vectors/pci_free_irq_vectors calls.
    scsi: qla2xxx: Only allow operational MBX to proceed during RESET.
    scsi: hpsa: remove memory allocate failure message
    scsi: Update 3ware driver email addresses
    scsi: zfcp: fix rport unblock race with LUN recovery
    scsi: zfcp: do not trace pure benign residual HBA responses at default level
    scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
    scsi: libcxgbi: return error if interface is not up
    scsi: cxgb4i: libcxgbi: add missing module_put()
    scsi: cxgb4i: libcxgbi: cxgb4: add T6 iSCSI completion feature
    scsi: cxgb4i: libcxgbi: add active open cmd for T6 adapters
    scsi: cxgb4i: use cxgb4_tp_smt_idx() to get smt_idx
    scsi: qedi: Add QLogic FastLinQ offload iSCSI driver framework.
    scsi: aacraid: remove wildcard for series 9 controllers
    scsi: ibmvscsi: add write memory barrier to CRQ processing
    ...

    Linus Torvalds
     
  • Pull more ARC updates from Vineet Gupta:

    - Fix for aliasing VIPT dcache in old ARC700 cores

    - micro-optimization in ARC700 ProtV handler

    - Enable SG_CHAIN [Vladimir]

    - ARC HS38 core intc default to prio 1

    * tag 'arc-4.10-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
    ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
    ARC: mm: No need to save cache version in @cpuinfo
    ARC: enable SG chaining
    ARCv2: intc: default all interrupts to priority 1
    ARCv2: entry: document intr disable in hard isr
    ARC: ARCompact entry: elide re-reading ECR in ProtV handler

    Linus Torvalds
     

23 Dec, 2016

3 commits

  • James Bottomley
     
  • Pull MMC fixes from Ulf Hansson:
    "MMC core:
    - further fix thread wake-up for requests
    - use a bounce buffer to fix DMA issue for SSR register read

    MMC host:
    - sdhci: Fix a regression for runtime PM
    - sdhci-cadence: Add a proper SoC specific DT compatible"

    * tag 'mmc-v4.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
    mmc: sd: Meet alignment requirements for raw_ssr DMA
    mmc: core: Further fix thread wake-up
    mmc: sdhci: Fix to handle MMC_POWER_UNDEFINED
    mmc: sdhci-cadence: add Socionext UniPhier specific compatible string

    Linus Torvalds
     
  • Pull x86 cache allocation interface from Thomas Gleixner:
    "This provides support for Intel's Cache Allocation Technology, a cache
    partitioning mechanism.

    The interface is odd, but the hardware interface of that CAT stuff is
    odd as well.

    We tried hard to come up with an abstraction, but that only allows
    rather simple partitioning, but no way of sharing and dealing with the
    per package nature of this mechanism.

    In the end we decided to expose the allocation bitmaps directly so all
    combinations of the hardware can be utilized.

    There are two ways of associating a cache partition:

    - Task

    A task can be added to a resource group. It uses the cache
    partition associated to the group.

    - CPU

    All tasks which are not member of a resource group use the group to
    which the CPU they are running on is associated with.

    That allows for simple CPU based partitioning schemes.

    The main expected user sare:

    - Virtualization so a VM can only trash only the associated part of
    the cash w/o disturbing others

    - Real-Time systems to seperate RT and general workloads.

    - Latency sensitive enterprise workloads

    - In theory this also can be used to protect against cache side
    channel attacks"

    [ Intel RDT is "Resource Director Technology". The interface really is
    rather odd and very specific, which delayed this pull request while I
    was thinking about it. The pull request itself came in early during
    the merge window, I just delayed it until things had calmed down and I
    had more time.

    But people tell me they'll use this, and the good news is that it is
    _so_ specific that it's rather independent of anything else, and no
    user is going to depend on the interface since it's pretty rare. So if
    push comes to shove, we can just remove the interface and nothing will
    break ]

    * 'x86-cache-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (31 commits)
    x86/intel_rdt: Implement show_options() for resctrlfs
    x86/intel_rdt: Call intel_rdt_sched_in() with preemption disabled
    x86/intel_rdt: Update task closid immediately on CPU in rmdir and unmount
    x86/intel_rdt: Fix setting of closid when adding CPUs to a group
    x86/intel_rdt: Update percpu closid immeditately on CPUs affected by changee
    x86/intel_rdt: Reset per cpu closids on unmount
    x86/intel_rdt: Select KERNFS when enabling INTEL_RDT_A
    x86/intel_rdt: Prevent deadlock against hotplug lock
    x86/intel_rdt: Protect info directory from removal
    x86/intel_rdt: Add info files to Documentation
    x86/intel_rdt: Export the minimum number of set mask bits in sysfs
    x86/intel_rdt: Propagate error in rdt_mount() properly
    x86/intel_rdt: Add a missing #include
    MAINTAINERS: Add maintainer for Intel RDT resource allocation
    x86/intel_rdt: Add scheduler hook
    x86/intel_rdt: Add schemata file
    x86/intel_rdt: Add tasks files
    x86/intel_rdt: Add cpus file
    x86/intel_rdt: Add mkdir to resctrl file system
    x86/intel_rdt: Add "info" files to resctrl file system
    ...

    Linus Torvalds