15 Jul, 2017

1 commit

  • Pull sound fixes from Takashi Iwai:
    "Small last-minute fixes for 4.13-rc1: a couple of PCM fixes for m68k,
    a cleanup work for legacy ISA msnd driver, and a few HD-audio new IDs
    and quirks"

    * tag 'sound-fix-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda - Add hdmi id for a Geminilake variant
    ALSA: hda/realtek - New codec device ID for ALC1220
    ALSA: pcm: Simplify check for dma_mmap_coherent() availability
    ALSA: pcm: Protect call to dma_mmap_coherent() by check for HAS_DMA
    ALSA: msnd: Optimize / harden DSP and MIDI loops
    ALSA: hda/realtek - change the location for one of two front microphones
    ALSA: opl4: Move inline before return type

    Linus Torvalds
     

13 Jul, 2017

1 commit


11 Jul, 2017

1 commit


10 Jul, 2017

3 commits

  • We check the availability of dma_mmap_coherent() in hw_support_mmap()
    but with an ugly ifdef of lots of arch-checks. Now we have a nice
    CONFIG_ARCH_NO_COHERENT_DMA_MMAP kconfig, and this can be used
    together with CONFIG_HAS_DMA check for a cleaner and more
    comprehensive check.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • If NO_DMA=y:

    sound/core/pcm_native.o: In function `snd_pcm_lib_default_mmap':
    pcm_native.c:(.text+0x144c): undefined reference to `bad_dma_ops'
    pcm_native.c:(.text+0x1474): undefined reference to `dma_common_mmap'

    Add a check for HAS_DMA to fix this.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Takashi Iwai

    Geert Uytterhoeven
     
  • Pull drm updates from Dave Airlie:
    "This is the main pull request for the drm, I think I've got one later
    driver pull for mediatek SoC driver, I'm undecided on if it needs to
    go to you yet.

    Otherwise summary below:

    Core drm:
    - Atomic add driver private objects
    - Deprecate preclose hook in modern drivers
    - MST bandwidth tracking
    - Use kvmalloc in more places
    - Add mode_valid hook for crtc/encoder/bridge
    - Reduce sync_file construction time
    - Documentation updates
    - New DRM synchronisation object support

    New drivers:
    - pl111 - pl111 CLCD display controller

    Panel:
    - Innolux P079ZCA panel driver
    - Add NL12880B20-05, NL192108AC18-02D, P320HVN03 panels
    - panel-samsung-s6e3ha2: Add s6e3hf2 panel support

    i915:
    - SKL+ watermark fixes
    - G4x/G33 reset improvements
    - DP AUX backlight improvements
    - Buffer based GuC/host communication
    - New getparam for (sub)slice infomation
    - Cannonlake and Coffeelake initial patches
    - Execbuf optimisations

    radeon/amdgpu:
    - Lots of Vega10 bug fixes
    - Preliminary raven support
    - KIQ support for compute rings
    - MEC queue management rework
    - DCE6 Audio support
    - SR-IOV improvements
    - Better radeon/amdgpu selection support

    nouveau:
    - HDMI stereoscopic support
    - Display code rework for >= GM20x GPUs

    msm:
    - GEM rework for fine-grained locking
    - Per-process pagetable work
    - HDMI fixes for Snapdragon 820.

    vc4:
    - Remove 256MB CMA limit from vc4
    - Add out-fence support
    - Add support for cygnus
    - Get/set tiling ioctls support
    - Add T-format tiling support for scanout

    zte:
    - add VGA support.

    etnaviv:
    - Thermal throttle support for newer GPUs
    - Restore userspace buffer cache performance
    - dma-buf sync fix

    stm:
    - add stm32f429 display support

    exynos:
    - Rework vblank handling
    - Fixup sw-trigger code

    sun4i:
    - V3s display engine support
    - HDMI support for older SoCs
    - Preliminary work on dual-pipeline SoCs.

    rcar-du:
    - VSP work

    imx-drm:
    - Remove counter load enable from PRE
    - Double read/write reduction flag support

    tegra:
    - Documentation for the host1x and drm driver.
    - Lots of staging ioctl fixes due to grate project work.

    omapdrm:
    - dma-buf fence support
    - TILER rotation fixes"

    * tag 'drm-for-v4.13' of git://people.freedesktop.org/~airlied/linux: (1270 commits)
    drm: Remove unused drm_file parameter to drm_syncobj_replace_fence()
    drm/amd/powerplay: fix bug fail to remove sysfs when rmmod amdgpu.
    amdgpu: Set cik/si_support to 1 by default if radeon isn't built
    drm/amdgpu/gfx9: fix driver reload with KIQ
    drm/amdgpu/gfx8: fix driver reload with KIQ
    drm/amdgpu: Don't call amd_powerplay_destroy() if we don't have powerplay
    drm/ttm: Fix use-after-free in ttm_bo_clean_mm
    drm/amd/amdgpu: move get memory type function from early init to sw init
    drm/amdgpu/cgs: always set reference clock in mode_info
    drm/amdgpu: fix vblank_time when displays are off
    drm/amd/powerplay: power value format change for Vega10
    drm/amdgpu/gfx9: support the amdgpu.disable_cu option
    drm/amd/powerplay: change PPSMC_MSG_GetCurrPkgPwr for Vega10
    drm/amdgpu: Make amdgpu_cs_parser_init static (v2)
    drm/amdgpu/cs: fix a typo in a comment
    drm/amdgpu: Fix the exported always on CU bitmap
    drm/amdgpu/gfx9: gfx_v9_0_enable_gfx_static_mg_power_gating() can be static
    drm/amdgpu/psp: upper_32_bits/lower_32_bits for address setup
    drm/amd/powerplay/cz: print message if smc message fails
    drm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init
    ...

    Linus Torvalds
     

07 Jul, 2017

3 commits

  • The ISA msnd drivers have loops fetching the ring-buffer head, tail
    and size values inside the loops. Such codes are inefficient and
    fragile.

    This patch optimizes it, and also adds the sanity check to avoid the
    endless loops.

    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196131
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196133
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • On this Lenovo machine, there are two front mics, and both of them are
    assigned the same name "Mic", but pulseaudio can't support two mics
    with the same name, as a workaround, we change the location for one of
    them, then the driver will assign "Front Mic" and "Mic" for them.

    Cc: stable@vger.kernel.org
    Signed-off-by: Hui Wang
    Signed-off-by: Takashi Iwai

    Hui Wang
     
  • Pull sound updates from Takashi Iwai:
    "This development cycle resulted in a fair amount of changes in both
    core and driver sides. The most significant change in ALSA core is
    about PCM. Also the support of of-graph card and the new DAPM widget
    for DSP are noteworthy changes in ASoC core. And there're lots of
    small changes splat over the tree, as you can see in diffstat.

    Below are a few highlights:

    ALSA core:
    - Removal of set_fs() hackery from PCM core stuff, and the code
    reorganization / optimization thereafter
    - Improved support of PCM ack ops, and a new ABI for improved
    control/status mmap handling
    - Lots of constifications in various codes

    ASoC core:
    - The support of of-graph card, which may work as a better generic
    device for a replacement of simple-card
    - New widget types intended mainly for use with DSPs

    ASoC drivers:
    - New drivers for Allwinner V3s SoCs
    - Ensonic ES8316 codec support
    - More Intel SKL and KBL works
    - More device support for Intel SST Atom (mostly for cheap tablets
    and 2-in-1 devices)
    - Support for Rockchip PDM controllers
    - Support for STM32 I2S and S/PDIF controllers
    - Support for ZTE AUD96P22 codecs

    HD-audio:
    - Support of new Realtek codecs (ALC215/ALC285/ALC289), more quirks
    for HP and Dell machines
    - A few more fixes for i915 component binding"

    * tag 'sound-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (418 commits)
    ALSA: hda - Fix unbalance of i915 module refcount
    ASoC: Intel: Skylake: Remove driver debugfs exit
    ASoC: Intel: Skylake: explicitly add the headers sst-dsp.h
    ALSA: hda/realtek - Remove GPIO_MASK
    ALSA: hda/realtek - Fix typo of pincfg for Dell quirk
    ALSA: pcm: add a documentation for tracepoints
    ALSA: atmel: ac97c: fix error return code in atmel_ac97c_probe()
    ALSA: x86: fix error return code in hdmi_lpe_audio_probe()
    ASoC: Intel: Skylake: Add support to read firmware registers
    ASoC: Intel: Skylake: Add sram address to sst_addr structure
    ASoC: Intel: Skylake: Debugfs facility to dump module config
    ASoC: Intel: Skylake: Add debugfs support
    ASoC: fix semicolon.cocci warnings
    ASoC: rt5645: Add quirk override by module option
    ASoC: rsnd: make arrays path and cmd_case static const
    ASoC: audio-graph-card: add widgets and routing for external amplifier support
    ASoC: audio-graph-card: update bindings for amplifier support
    ASoC: rt5665: calibration should be done before jack detection
    ASoC: rsnd: constify dev_pm_ops structures.
    ASoC: nau8825: change crosstalk-bypass property to bool type
    ...

    Linus Torvalds
     

06 Jul, 2017

1 commit


04 Jul, 2017

4 commits

  • The commit dba9b7b6ca1a ("ALSA: hda - Fix doubly initialization of
    i915 component") contained a typo that leads to the unbalance of i915
    module reference. The value to be checked is not chip->driver_type
    but chip->driver_caps.

    Fixes: dba9b7b6ca1a ("ALSA: hda - Fix doubly initialization of i915 component")
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196219
    Reported-by: Martin Peres
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Pull scheduler updates from Ingo Molnar:
    "The main changes in this cycle were:

    - Add the SYSTEM_SCHEDULING bootup state to move various scheduler
    debug checks earlier into the bootup. This turns silent and
    sporadically deadly bugs into nice, deterministic splats. Fix some
    of the splats that triggered. (Thomas Gleixner)

    - A round of restructuring and refactoring of the load-balancing and
    topology code (Peter Zijlstra)

    - Another round of consolidating ~20 of incremental scheduler code
    history: this time in terms of wait-queue nomenclature. (I didn't
    get much feedback on these renaming patches, and we can still
    easily change any names I might have misplaced, so if anyone hates
    a new name, please holler and I'll fix it.) (Ingo Molnar)

    - sched/numa improvements, fixes and updates (Rik van Riel)

    - Another round of x86/tsc scheduler clock code improvements, in hope
    of making it more robust (Peter Zijlstra)

    - Improve NOHZ behavior (Frederic Weisbecker)

    - Deadline scheduler improvements and fixes (Luca Abeni, Daniel
    Bristot de Oliveira)

    - Simplify and optimize the topology setup code (Lauro Ramos
    Venancio)

    - Debloat and decouple scheduler code some more (Nicolas Pitre)

    - Simplify code by making better use of llist primitives (Byungchul
    Park)

    - ... plus other fixes and improvements"

    * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (103 commits)
    sched/cputime: Refactor the cputime_adjust() code
    sched/debug: Expose the number of RT/DL tasks that can migrate
    sched/numa: Hide numa_wake_affine() from UP build
    sched/fair: Remove effective_load()
    sched/numa: Implement NUMA node level wake_affine()
    sched/fair: Simplify wake_affine() for the single socket case
    sched/numa: Override part of migrate_degrades_locality() when idle balancing
    sched/rt: Move RT related code from sched/core.c to sched/rt.c
    sched/deadline: Move DL related code from sched/core.c to sched/deadline.c
    sched/cpuset: Only offer CONFIG_CPUSETS if SMP is enabled
    sched/fair: Spare idle load balancing on nohz_full CPUs
    nohz: Move idle balancer registration to the idle path
    sched/loadavg: Generalize "_idle" naming to "_nohz"
    sched/core: Drop the unused try_get_task_struct() helper function
    sched/fair: WARN() and refuse to set buddy when !se->on_rq
    sched/debug: Fix SCHED_WARN_ON() to return a value on !CONFIG_SCHED_DEBUG as well
    sched/wait: Disambiguate wq_entry->task_list and wq_head->task_list naming
    sched/wait: Move bit_wait_table[] and related functionality from sched/core.c to sched/wait_bit.c
    sched/wait: Split out the wait_bit*() APIs from into
    sched/wait: Re-adjust macro line continuation backslashes in
    ...

    Linus Torvalds
     
  • ASoC: Updates for v4.13

    The big news with this release is the of-graph card, this provides a
    replacement for simple-card that is much more flexibile and scalable,
    allowing many more systems to use a generic sound card than was possible
    before:

    - The of-graph card, finally merged after a long and dedicated effort
    by Morimoto-san.
    - New widget types intended mainly for use with DSPs.
    - New drivers for Allwinner V3s SoCs, Ensonic ES8316, several classes
    of x86 machine, Rockchip PDM controllers, STM32 I2S and S/PDIF
    controllers and ZTE AUD96P22 CODECs.

    Takashi Iwai
     
  • Pull uuid subsystem from Christoph Hellwig:
    "This is the new uuid subsystem, in which Amir, Andy and I have started
    consolidating our uuid/guid helpers and improving the types used for
    them. Note that various other subsystems have pulled in this tree, so
    I'd like it to go in early.

    UUID/GUID summary:

    - introduce the new uuid_t/guid_t types that are going to replace the
    somewhat confusing uuid_be/uuid_le types and make the terminology
    fit the various specs, as well as the userspace libuuid library.
    (me, based on a previous version from Amir)

    - consolidated generic uuid/guid helper functions lifted from XFS and
    libnvdimm (Amir and me)

    - conversions to the new types and helpers (Amir, Andy and me)"

    * tag 'uuid-for-4.13' of git://git.infradead.org/users/hch/uuid: (34 commits)
    ACPI: hns_dsaf_acpi_dsm_guid can be static
    mmc: sdhci-pci: make guid intel_dsm_guid static
    uuid: Take const on input of uuid_is_null() and guid_is_null()
    thermal: int340x_thermal: fix compile after the UUID API switch
    thermal: int340x_thermal: Switch to use new generic UUID API
    acpi: always include uuid.h
    ACPI: Switch to use generic guid_t in acpi_evaluate_dsm()
    ACPI / extlog: Switch to use new generic UUID API
    ACPI / bus: Switch to use new generic UUID API
    ACPI / APEI: Switch to use new generic UUID API
    acpi, nfit: Switch to use new generic UUID API
    MAINTAINERS: add uuid entry
    tmpfs: generate random sb->s_uuid
    scsi_debug: switch to uuid_t
    nvme: switch to uuid_t
    sysctl: switch to use uuid_t
    partitions/ldm: switch to use uuid_t
    overlayfs: use uuid_t instead of uuid_be
    fs: switch ->s_uuid to uuid_t
    ima/policy: switch to use uuid_t
    ...

    Linus Torvalds
     

03 Jul, 2017

26 commits