04 Oct, 2018

1 commit

  • Some time ago REQ_DISCARD was renamed into REQ_OP_DISCARD. Some comments
    and documentation files were not updated however. Update these comments
    and documentation files. See also commit 4e1b2d52a80d ("block, fs,
    drivers: remove REQ_OP compat defs and related code").

    Signed-off-by: Bart Van Assche
    Cc: Mike Christie
    Cc: Martin K. Petersen
    Cc: Philipp Reisner
    Cc: Lars Ellenberg
    Signed-off-by: Jens Axboe

    Bart Van Assche
     

01 Oct, 2018

1 commit

  • Merge -rc6 in, for two reasons:

    1) Resolve a trivial conflict in the blk-mq-tag.c documentation
    2) A few important regression fixes went into upstream directly, so
    they aren't in the 4.20 branch.

    Signed-off-by: Jens Axboe

    * tag 'v4.19-rc6': (780 commits)
    Linux 4.19-rc6
    MAINTAINERS: fix reference to moved drivers/{misc => auxdisplay}/panel.c
    cpufreq: qcom-kryo: Fix section annotations
    perf/core: Add sanity check to deal with pinned event failure
    xen/blkfront: correct purging of persistent grants
    Revert "xen/blkfront: When purging persistent grants, keep them in the buffer"
    selftests/powerpc: Fix Makefiles for headers_install change
    blk-mq: I/O and timer unplugs are inverted in blktrace
    dax: Fix deadlock in dax_lock_mapping_entry()
    x86/boot: Fix kexec booting failure in the SEV bit detection code
    bcache: add separate workqueue for journal_write to avoid deadlock
    drm/amd/display: Fix Edid emulation for linux
    drm/amd/display: Fix Vega10 lightup on S3 resume
    drm/amdgpu: Fix vce work queue was not cancelled when suspend
    Revert "drm/panel: Add device_link from panel device to DRM device"
    xen/blkfront: When purging persistent grants, keep them in the buffer
    clocksource/drivers/timer-atmel-pit: Properly handle error cases
    block: fix deadline elevator drain for zoned block devices
    ACPI / hotplug / PCI: Don't scan for non-hotplug bridges if slot is not bridge
    drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set
    ...

    Signed-off-by: Jens Axboe

    Jens Axboe
     

29 Sep, 2018

1 commit

  • Dmitry writes:
    "Input updates for v4.19-rc5

    Just a few driver fixes"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: uinput - allow for max == min during input_absinfo validation
    Input: elantech - enable middle button of touchpad on ThinkPad P72
    Input: atakbd - fix Atari CapsLock behaviour
    Input: atakbd - fix Atari keymap
    Input: egalax_ts - add system wakeup support
    Input: gpio-keys - fix a documentation index issue

    Greg Kroah-Hartman
     

24 Sep, 2018

1 commit

  • Mauro briefly writes:
    "media fixes for v4.19-rc5

    some drivers and Kbuild fixes"

    * tag 'media/v4.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
    media: platform: fix cros-ec-cec build error
    media: staging/media/mt9t031/Kconfig: remove bogus entry
    media: i2c: mt9v111: Fix v4l2-ctrl error handling
    media: camss: add missing includes
    media: camss: Use managed memory allocations
    media: camss: mark PM functions as __maybe_unused
    media: af9035: prevent buffer overflow on write
    media: video_function_calls.rst: drop obsolete video-set-attributes reference

    Greg Kroah-Hartman
     

22 Sep, 2018

1 commit

  • One of the goals of this series is to remove a separate reference to
    the css of the bio. This can and should be accessed via bio_blkcg. In
    this patch, the wbc_init_bio call is changed such that it must be called
    after a queue has been associated with the bio.

    Signed-off-by: Dennis Zhou
    Reviewed-by: Josef Bacik
    Acked-by: Tejun Heo
    Signed-off-by: Jens Axboe

    Dennis Zhou (Facebook)
     

21 Sep, 2018

1 commit

  • Paolo writes:
    "It's mostly small bugfixes and cleanups, mostly around x86 nested
    virtualization. One important change, not related to nested
    virtualization, is that the ability for the guest kernel to trap
    CPUID instructions (in Linux that's the ARCH_SET_CPUID arch_prctl) is
    now masked by default. This is because the feature is detected
    through an MSR; a very bad idea that Intel seems to like more and
    more. Some applications choke if the other fields of that MSR are
    not initialized as on real hardware, hence we have to disable the
    whole MSR by default, as was the case before Linux 4.12."

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (23 commits)
    KVM: nVMX: Fix bad cleanup on error of get/set nested state IOCTLs
    kvm: selftests: Add platform_info_test
    KVM: x86: Control guest reads of MSR_PLATFORM_INFO
    KVM: x86: Turbo bits in MSR_PLATFORM_INFO
    nVMX x86: Check VPID value on vmentry of L2 guests
    nVMX x86: check posted-interrupt descriptor addresss on vmentry of L2
    KVM: nVMX: Wake blocked vCPU in guest-mode if pending interrupt in virtual APICv
    KVM: VMX: check nested state and CR4.VMXE against SMM
    kvm: x86: make kvm_{load|put}_guest_fpu() static
    x86/hyper-v: rename ipi_arg_{ex,non_ex} structures
    KVM: VMX: use preemption timer to force immediate VMExit
    KVM: VMX: modify preemption timer bit only when arming timer
    KVM: VMX: immediately mark preemption timer expired only for zero value
    KVM: SVM: Switch to bitmap_zalloc()
    KVM/MMU: Fix comment in walk_shadow_page_lockless_end()
    kvm: selftests: use -pthread instead of -lpthread
    KVM: x86: don't reset root in kvm_mmu_setup()
    kvm: mmu: Don't read PDPTEs when paging is not enabled
    x86/kvm/lapic: always disable MMIO interface in x2APIC mode
    KVM: s390: Make huge pages unavailable in ucontrol VMs
    ...

    Greg Kroah-Hartman
     

20 Sep, 2018

1 commit

  • Add KVM_CAP_MSR_PLATFORM_INFO so that userspace can disable guest access
    to reads of MSR_PLATFORM_INFO.

    Disabling access to reads of this MSR gives userspace the control to "expose"
    this platform-dependent information to guests in a clear way. As it exists
    today, guests that read this MSR would get unpopulated information if userspace
    hadn't already set it (and prior to this patch series, only the CPUID faulting
    information could have been populated). This existing interface could be
    confusing if guests don't handle the potential for incorrect/incomplete
    information gracefully (e.g. zero reported for base frequency).

    Signed-off-by: Drew Schmitt
    Signed-off-by: Paolo Bonzini

    Drew Schmitt
     

19 Sep, 2018

1 commit


18 Sep, 2018

2 commits

  • …git/kvms390/linux into HEAD

    KVM: s390: Fixes for 4.19

    - more fallout from the hugetlbfs enablement
    - bugfix for vma handling

    Paolo Bonzini
     
  • Dave writes:
    "Various fixes, all over the place:

    1) OOB data generation fix in bluetooth, from Matias Karhumaa.

    2) BPF BTF boundary calculation fix, from Martin KaFai Lau.

    3) Don't bug on excessive frags, to be compatible in situations mixing
    older and newer kernels on each end. From Juergen Gross.

    4) Scheduling in RCU fix in hv_netvsc, from Stephen Hemminger.

    5) Zero keying information in TLS layer before freeing copies
    of them, from Sabrina Dubroca.

    6) Fix NULL deref in act_sample, from Davide Caratti.

    7) Orphan SKB before GRO in veth to prevent crashes with XDP,
    from Toshiaki Makita.

    8) Fix use after free in ip6_xmit, from Eric Dumazet.

    9) Fix VF mac address regression in bnxt_en, from Micahel Chan.

    10) Fix MSG_PEEK behavior in TLS layer, from Daniel Borkmann.

    11) Programming adjustments to r8169 which fix not being to enter deep
    sleep states on some machines, from Kai-Heng Feng and Hans de
    Goede.

    12) Fix DST_NOCOUNT flag handling for ipv6 routes, from Peter
    Oskolkov."

    * gitolite.kernel.org:/pub/scm/linux/kernel/git/davem/net: (45 commits)
    net/ipv6: do not copy dst flags on rt init
    qmi_wwan: set DTR for modems in forced USB2 mode
    clk: x86: Stop marking clocks as CLK_IS_CRITICAL
    r8169: Get and enable optional ether_clk clock
    clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail
    r8169: enable ASPM on RTL8106E
    r8169: Align ASPM/CLKREQ setting function with vendor driver
    Revert "kcm: remove any offset before parsing messages"
    kcm: remove any offset before parsing messages
    net: ethernet: Fix a unused function warning.
    net: dsa: mv88e6xxx: Fix ATU Miss Violation
    tls: fix currently broken MSG_PEEK behavior
    hv_netvsc: pair VF based on serial number
    PCI: hv: support reporting serial number as slot information
    bnxt_en: Fix VF mac address regression.
    ipv6: fix possible use-after-free in ip6_xmit()
    net: hp100: fix always-true check for link up state
    ARM: dts: at91: add new compatibility string for macb on sama5d3
    net: macb: disable scatter-gather for macb on sama5d3
    net: mvpp2: let phylink manage the carrier state
    ...

    Greg Kroah-Hartman
     

17 Sep, 2018

2 commits

  • We need this new compatibility string as we experienced different behavior
    for this 10/100Mbits/s macb interface on this particular SoC.
    Backward compatibility is preserved as we keep the alternative strings.

    Signed-off-by: Nicolas Ferre
    Signed-off-by: David S. Miller

    Nicolas Ferre
     
  • The Code of Conflict is not achieving its implicit goal of fostering
    civility and the spirit of 'be excellent to each other'. Explicit
    guidelines have demonstrated success in other projects and other areas
    of the kernel.

    Here is a Code of Conduct statement for the wider kernel. It is based
    on the Contributor Covenant as described at www.contributor-covenant.org

    From this point forward, we should abide by these rules in order to help
    make the kernel community a welcoming environment to participate in.

    Signed-off-by: Chris Mason
    Signed-off-by: Dan Williams
    Signed-off-by: Jonathan Corbet
    Signed-off-by: Olof Johansson
    Signed-off-by: Steven Rostedt (VMware)
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Linus Torvalds

    Greg Kroah-Hartman
     

16 Sep, 2018

1 commit

  • Pull x86 fixes from Ingol Molnar:
    "Misc fixes:

    - EFI crash fix

    - Xen PV fixes

    - do not allow PTI on 2-level 32-bit kernels for now

    - documentation fix"

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/APM: Fix build warning when PROC_FS is not enabled
    Revert "x86/mm/legacy: Populate the user page-table with user pgd's"
    x86/efi: Load fixmap GDT in efi_call_phys_epilog() before setting %cr3
    x86/xen: Disable CPU0 hotplug for Xen PV
    x86/EISA: Don't probe EISA bus for Xen PV guests
    x86/doc: Fix Documentation/x86/earlyprintk.txt

    Linus Torvalds
     

15 Sep, 2018

1 commit

  • Pull xen fixes from Juergen Gross:
    "This contains some minor cleanups and fixes:

    - a new knob for controlling scrubbing of pages returned by the Xen
    balloon driver to the Xen hypervisor to address a boot performance
    issue seen in large guests booted pre-ballooned

    - a fix of a regression in the gntdev driver which made it impossible
    to use fully virtualized guests (HVM guests) with a 4.19 based dom0

    - a fix in Xen cpu hotplug functionality which could be triggered by
    wrong admin commands (setting number of active vcpus to 0)

    One further note: the patches have all been under test for several
    days in another branch. This branch has been rebased in order to avoid
    merge conflicts"

    * tag 'for-linus-4.19c-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
    xen/gntdev: fix up blockable calls to mn_invl_range_start
    xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage
    xen: avoid crash in disable_hotplug_cpu
    xen/balloon: add runtime control for scrubbing ballooned out pages
    xen/manage: don't complain about an empty value in control/sysrq node

    Linus Torvalds
     

14 Sep, 2018

3 commits

  • Scrubbing pages on initial balloon down can take some time, especially
    in nested virtualization case (nested EPT is slow). When HVM/PVH guest is
    started with memory= significantly lower than maxmem=, all the extra
    pages will be scrubbed before returning to Xen. But since most of them
    weren't used at all at that point, Xen needs to populate them first
    (from populate-on-demand pool). In nested virt case (Xen inside KVM)
    this slows down the guest boot by 15-30s with just 1.5GB needed to be
    returned to Xen.

    Add runtime parameter to enable/disable it, to allow initially disabling
    scrubbing, then enable it back during boot (for example in initramfs).
    Such usage relies on assumption that a) most pages ballooned out during
    initial boot weren't used at all, and b) even if they were, very few
    secrets are in the guest at that time (before any serious userspace
    kicks in).
    Convert CONFIG_XEN_SCRUB_PAGES to CONFIG_XEN_SCRUB_PAGES_DEFAULT (also
    enabled by default), controlling default value for the new runtime
    switch.

    Signed-off-by: Marek Marczykowski-Górecki
    Reviewed-by: Juergen Gross
    Signed-off-by: Boris Ostrovsky

    Marek Marczykowski-Górecki
     
  • Pull overlayfs fixes from Miklos Szeredi:
    "This fixes a regression in the recent file stacking update, reported
    and fixed by Amir Goldstein. The fix is fairly trivial, but involves
    adding a fadvise() f_op and the associated churn in the vfs. As
    discussed on -fsdevel, there are other possible uses for this method,
    than allowing proper stacking for overlays.

    And there's one other fix for a syzkaller detected oops"

    * tag 'ovl-fixes-4.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
    ovl: fix oopses in ovl_fill_super() failure paths
    ovl: add ovl_fadvise()
    vfs: implement readahead(2) using POSIX_FADV_WILLNEED
    vfs: add the fadvise() file operation
    Documentation/filesystems: update documentation of file_operations
    ovl: fix GPF in swapfile_activate of file from overlayfs over xfs
    ovl: respect FIEMAP_FLAG_SYNC flag

    Linus Torvalds
     
  • …evice-mapper/linux-dm

    Pull device mapper fixes from Mike Snitzer:

    - DM verity fix for crash due to using vmalloc'd buffers with the
    asynchronous crypto hadsh API.

    - Fix to both DM crypt and DM integrity targets to discontinue using
    CRYPTO_TFM_REQ_MAY_SLEEP because its use of GFP_KERNEL can lead to
    deadlock by recursing back into a filesystem.

    - Various DM raid fixes related to reshape and rebuild races.

    - Fix for DM thin-provisioning to avoid data corruption that was a
    side-effect of needing to abort DM thin metadata transaction due to
    running out of metadata space. Fix is to reserve a small amount of
    metadata space so that once it is used the DM thin-pool can finish
    its active transaction before switching to read-only mode.

    * tag 'for-4.19/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
    dm thin metadata: try to avoid ever aborting transactions
    dm raid: bump target version, update comments and documentation
    dm raid: fix RAID leg rebuild errors
    dm raid: fix rebuild of specific devices by updating superblock
    dm raid: fix stripe adding reshape deadlock
    dm raid: fix reshape race on small devices
    dm: disable CRYPTO_TFM_REQ_MAY_SLEEP to fix a GFP_KERNEL recursion deadlock
    dm verity: fix crash on bufio buffer that was allocated with vmalloc

    Linus Torvalds
     

12 Sep, 2018

1 commit

  • We currently do not notify all gmaps when using gmap_pmdp_xchg(), due
    to locking constraints. This makes ucontrol VMs, which is the only VM
    type that creates multiple gmaps, incompatible with huge pages. Also
    we would need to hold the guest_table_lock of all gmaps that have this
    vmaddr maped to synchronize access to the pmd.

    ucontrol VMs are rather exotic and creating a new locking concept is
    no easy task. Hence we return EINVAL when trying to active
    KVM_CAP_S390_HPAGE_1M and report it as being not available when
    checking for it.

    Fixes: a4499382 ("KVM: s390: Add huge page enablement control")
    Signed-off-by: Janosch Frank
    Reviewed-by: David Hildenbrand
    Reviewed-by: Claudio Imbrenda
    Message-Id:
    Signed-off-by: Janosch Frank

    Janosch Frank
     

10 Sep, 2018

1 commit

  • Fix a few issues in Documentation/x86/earlyprintk.txt:

    - correct typos, punctuation, missing word, wrong word
    - change product name from Netchip to NetChip
    - expand where to add "earlyprintk=dbg"

    Signed-off-by: Randy Dunlap
    Cc: Eric W. Biederman
    Cc: Jason Wessel
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: Yinghai Lu
    Cc: linux-doc@vger.kernel.org
    Cc: linux-usb@vger.kernel.org
    Link: http://lkml.kernel.org/r/d0c40ac3-7659-6374-dbda-23d3d2577f30@infradead.org
    Signed-off-by: Ingo Molnar

    Randy Dunlap
     

09 Sep, 2018

2 commits

  • Pull random driver fix from Ted Ts'o:
    "Fix things so the choice of whether or not to trust RDRAND to
    initialize the CRNG is configurable via the boot option
    random.trust_cpu={on,off}"

    * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
    random: make CPU trust a boot parameter

    Linus Torvalds
     
  • …masahiroy/linux-kbuild

    Pull Kbuild fixes from Masahiro Yamada:

    - make setlocalversion more robust about -dirty check

    - loosen the pkg-config requirement for Kconfig

    - change missing depmod to a warning from an error

    - warn modules_install when System.map is missing

    * tag 'kbuild-fixes-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
    kbuild: modules_install: warn when missing System.map file
    kbuild: make missing $DEPMOD a Warning instead of an Error
    kconfig: do not require pkg-config on make {menu,n}config
    kconfig: remove a spurious self-assignment
    scripts/setlocalversion: git: Make -dirty check more robust

    Linus Torvalds
     

08 Sep, 2018

1 commit

  • Pull i2c fixes from Wolfram Sang:

    - bugfixes for uniphier, i801, and xiic drivers

    - ID removal (never produced) for imx

    - one MAINTAINER addition

    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    i2c: xiic: Record xilinx i2c with Zynq fragment
    i2c: xiic: Make the start and the byte count write atomic
    i2c: i801: fix DNV's SMBCTRL register offset
    i2c: imx-lpi2c: Remove mx8dv compatible entry
    dt-bindings: imx-lpi2c: Remove mx8dv compatible entry
    i2c: uniphier-f: issue STOP only for last message or I2C_M_STOP
    i2c: uniphier: issue STOP only for last message or I2C_M_STOP

    Linus Torvalds
     

07 Sep, 2018

1 commit


06 Sep, 2018

1 commit

  • Pull SCSI fixes from James Bottomley:
    "A set of very minor fixes and a couple of reverts to fix a major
    problem (the attempt to change the busy count causes a hang when
    attempting to change the drive cache type)"

    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    scsi: aacraid: fix a signedness bug
    Revert "scsi: core: avoid host-wide host_busy counter for scsi_mq"
    Revert "scsi: core: fix scsi_host_queue_ready"
    scsi: libata: Add missing newline at end of file
    scsi: target: iscsi: cxgbit: use pr_debug() instead of pr_info()
    scsi: hpsa: limit transfer length to 1MB, not 512kB
    scsi: lpfc: Correct MDS diag and nvmet configuration
    scsi: lpfc: Default fdmi_on to on
    scsi: csiostor: fix incorrect port capabilities
    scsi: csiostor: add a check for NULL pointer after kmalloc()
    scsi: documentation: add scsi_mod.use_blk_mq to scsi-parameters
    scsi: core: Update SCSI_MQ_DEFAULT help text to match default

    Linus Torvalds
     

05 Sep, 2018

1 commit

  • Pull networking fixes from David Miller:

    1) Must perform TXQ teardown before unregistering interfaces in
    mac80211, from Toke Høiland-Jørgensen.

    2) Don't allow creating mac80211_hwsim with less than one channel, from
    Johannes Berg.

    3) Division by zero in cfg80211, fix from Johannes Berg.

    4) Fix endian issue in tipc, from Haiqing Bai.

    5) BPF sockmap use-after-free fixes from Daniel Borkmann.

    6) Spectre-v1 in mac80211_hwsim, from Jinbum Park.

    7) Missing rhashtable_walk_exit() in tipc, from Cong Wang.

    8) Revert kvzalloc() conversion of AF_PACKET, it breaks mmap() when
    kvzalloc() tries to use kmalloc() pages. From Eric Dumazet.

    9) Fix deadlock in hv_netvsc, from Dexuan Cui.

    10) Do not restart timewait timer on RST, from Florian Westphal.

    11) Fix double lwstate refcount grab in ipv6, from Alexey Kodanev.

    12) Unsolicit report count handling is off-by-one, fix from Hangbin Liu.

    13) Sleep-in-atomic in cadence driver, from Jia-Ju Bai.

    14) Respect ttl-inherit in ip6 tunnel driver, from Hangbin Liu.

    15) Use-after-free in act_ife, fix from Cong Wang.

    16) Missing hold to meta module in act_ife, from Vlad Buslov.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (91 commits)
    net: phy: sfp: Handle unimplemented hwmon limits and alarms
    net: sched: action_ife: take reference to meta module
    act_ife: fix a potential use-after-free
    net/mlx5: Fix SQ offset in QPs with small RQ
    tipc: correct spelling errors for tipc_topsrv_queue_evt() comments
    tipc: correct spelling errors for struct tipc_bc_base's comment
    bnxt_en: Do not adjust max_cp_rings by the ones used by RDMA.
    bnxt_en: Clean up unused functions.
    bnxt_en: Fix firmware signaled resource change logic in open.
    sctp: not traverse asoc trans list if non-ipv6 trans exists for ipv6_flowlabel
    sctp: fix invalid reference to the index variable of the iterator
    net/ibm/emac: wrong emac_calc_base call was used by typo
    net: sched: null actions array pointer before releasing action
    vhost: fix VHOST_GET_BACKEND_FEATURES ioctl request definition
    r8169: add support for NCube 8168 network card
    ip6_tunnel: respect ttl inherit for ip6tnl
    mac80211: shorten the IBSS debug messages
    mac80211: don't Tx a deauth frame if the AP forbade Tx
    mac80211: Fix station bandwidth setting after channel switch
    mac80211: fix a race between restart and CSA flows
    ...

    Linus Torvalds
     

03 Sep, 2018

3 commits

  • mx8dv never entered into production and there is no other place
    in the kernel referring to this SoC, so remove it from the
    dt bindings documentation.

    Signed-off-by: Fabio Estevam
    Signed-off-by: Wolfram Sang

    Fabio Estevam
     
  • The current cpsw usage for cpsw-phy-sel is undocumented but is used for
    all the boards using cpsw. And cpsw-phy-sel is not really a child of
    the cpsw device, it lives in the system control module instead.

    Let's document the existing usage, and improve it a bit where we prefer
    to use a phandle instead of a child device for it. That way we can
    properly describe the hardware in dts files for things like genpd.

    Cc: devicetree@vger.kernel.org
    Cc: Andrew Lunn
    Cc: Grygorii Strashko
    Cc: Ivan Khoronzhuk
    Cc: Mark Rutland
    Cc: Murali Karicheri
    Cc: Rob Herring
    Signed-off-by: Tony Lindgren
    Signed-off-by: David S. Miller

    Tony Lindgren
     
  • Meelis Roos reported a {menu,n}config regression:
    "I have libncurses devel package installed in the default system
    location (as do 99%+ on actual developers probably) and in this
    case, pkg-config is useless. pkg-config is needed only when
    libraries and headers are installed in non-default locations but
    it is bad to require installation of pkg-config on all the machines
    where make menuconfig would be possibly run."

    For {menu,n}config, do not use pkg-config if it is not installed.
    For {g,x}config, keep checking pkg-config since we really rely on it
    for finding the installation paths of the required packages.

    Fixes: 4ab3b80159d4 ("kconfig: check for pkg-config on make {menu,n,g,x}config")
    Reported-by: Meelis Roos
    Signed-off-by: Masahiro Yamada
    Tested-by: Meelis Roos
    Tested-by: Randy Dunlap

    Masahiro Yamada
     

02 Sep, 2018

2 commits


01 Sep, 2018

1 commit

  • Pull arm64 fixes from Will Deacon:
    "A few arm64 fixes came in this week, specifically fixing some nasty
    truncation of return values from firmware calls and resolving a
    VM_BUG_ON due to accessing uninitialised struct pages corresponding to
    NOMAP pages.

    Summary:

    - Fix typos in SVE documentation

    - Fix type-checking and implicit truncation for SMCCC calls

    - Force CONFIG_HOLES_IN_ZONE=y so that SLAB doesn't fall over NOMAP
    regions"

    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
    arm64: mm: always enable CONFIG_HOLES_IN_ZONE
    arm/arm64: smccc-1.1: Handle function result as parameters
    arm/arm64: smccc-1.1: Make return values unsigned long
    Documentation/arm64/sve: Couple of improvements and typos

    Linus Torvalds
     

31 Aug, 2018

4 commits

  • Pull xen fixes from Juergen Gross:

    - minor cleanup avoiding a warning when building with new gcc

    - a patch to add a new sysfs node for Xen frontend/backend drivers to
    make it easier to obtain the state of a pv device

    - two fixes for 32-bit pv-guests to avoid intermediate L1TF vulnerable
    PTEs

    * tag 'for-linus-4.19b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
    x86/xen: remove redundant variable save_pud
    xen: export device state to sysfs
    x86/pae: use 64 bit atomic xchg function in native_ptep_get_and_clear
    x86/xen: don't write ptes directly in 32-bit PV guests

    Linus Torvalds
     
  • Pull i2c fixes from Wolfram Sang:

    - regression fixes for i801 and designware

    - better API and leak fix for releasing DMA safe buffers

    - better greppable strings for the bitbang algorithm

    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    i2c: sh_mobile: fix leak when using DMA bounce buffer
    i2c: sh_mobile: define start_ch() void as it only returns 0 anyhow
    i2c: refactor function to release a DMA safe buffer
    i2c: algos: bit: make the error messages grepable
    i2c: designware: Re-init controllers with pm_disabled set on resume
    i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus

    Linus Torvalds
     
  • a) rename to 'put' instead of 'release' to match 'get' when obtaining
    the buffer
    b) change the argument order to have the buffer as first argument
    c) add a new argument telling the function if the message was
    transferred. This allows the function to be used also in cases
    where setting up DMA failed, so the buffer needs to be freed without
    syncing to the message buffer.

    Also convert the only user.

    Signed-off-by: Wolfram Sang
    Reviewed-by: Niklas Söderlund
    Signed-off-by: Wolfram Sang

    Wolfram Sang
     
  • Pull block fixes from Jens Axboe:
    "Small collection of fixes that should go into this series. This pull
    contains:

    - NVMe pull request with three small fixes (via Christoph)

    - Kill useless NULL check before kmem_cache_destroy (Chengguang Xu)

    - Xen block driver pull request with persistent grant flushing fixes
    (Juergen Gross)

    - Final wbt fixes, wrapping up the changes for this series. These
    have been heavily tested (me)

    - cdrom info leak fix (Scott Bauer)

    - ATA dma quirk for SQ201 (Linus Walleij)

    - Straight forward bsg refcount_t conversion (John Pittman)"

    * tag 'for-linus-20180830' of git://git.kernel.dk/linux-block:
    cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status
    nvmet: free workqueue object if module init fails
    nvme-fcloop: Fix dropped LS's to removed target port
    nvme-pci: add a memory barrier to nvme_dbbuf_update_and_check_event
    block: bsg: move atomic_t ref_count variable to refcount API
    block: remove unnecessary condition check
    ata: ftide010: Add a quirk for SQ201
    blk-wbt: remove dead code
    blk-wbt: improve waking of tasks
    blk-wbt: abstract out end IO completion handler
    xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring
    xen/blkback: move persistent grants flags to bool
    xen/blkfront: reorder tests in xlblk_init()
    xen/blkfront: cleanup stale persistent grants
    xen/blkback: don't keep persistent grants too long

    Linus Torvalds
     

30 Aug, 2018

5 commits