1. 22 Sep, 2022 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'usb-serial-6.1-rc1' of... · 715a654b
      Greg Kroah-Hartman authored
      Merge tag 'usb-serial-6.1-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next
      
      Johan writes:
        "USB-serial updates for 6.1-rc1
      
         Here are the USB-serial updates for 6.1-rc1, including:
          - a fix for a very long-standing FTDI SIO regression
          - a long-overdue cleanup of the FTDI type handling
          - support for new FTDI HP and HA devices
      
         Included are also various clean ups.
      
         All have been in linux-next with no reported issues."
      
      * tag 'usb-serial-6.1-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial:
        USB: serial: ftdi_sio: clean up driver prefix
        USB: serial: ftdi_sio: move driver structure
        USB: serial: ftdi_sio: clean up attribute visibility logic
        USB: serial: console: move mutex_unlock() before usb_serial_put()
        USB: serial: ftdi_sio: convert to use dev_groups
        USB: serial: ftdi_sio: add support for HP and HA devices
        USB: serial: ftdi_sio: simplify divisor handling
        USB: serial: ftdi_sio: assume hi-speed type
        USB: serial: ftdi_sio: clean up baudrate request
        USB: serial: ftdi_sio: clean up attribute handling
        USB: serial: ftdi_sio: clean up modem-status handling
        USB: serial: ftdi_sio: tighten device-type detection
        USB: serial: ftdi_sio: rename channel index
        USB: serial: ftdi_sio: include FT2232D in type string
        USB: serial: ftdi_sio: rename chip types
        USB: serial: ftdi_sio: drop redundant chip type comments
        USB: serial: ftdi_sio: clean up chip type enum
        USB: serial: ftdi_sio: fix 300 bps rate for SIO
      715a654b
  2. 20 Sep, 2022 3 commits
  3. 19 Sep, 2022 2 commits
  4. 15 Sep, 2022 13 commits
  5. 09 Sep, 2022 2 commits
  6. 08 Sep, 2022 1 commit
    • Lukas Bulwahn's avatar
      usb: chipidea: make configs for glue drivers visible with EXPERT · d818320e
      Lukas Bulwahn authored
      Commit 6a108a14 ("kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT")
      introduces CONFIG_EXPERT to carry the previous intent of CONFIG_EMBEDDED
      and just gives that intent a much better name. That has been clearly a good
      and long overdue renaming, and it is clearly an improvement to the kernel
      build configuration that has shown to help managing the kernel build
      configuration in the last decade.
      
      However, rather than bravely and radically just deleting CONFIG_EMBEDDED,
      this commit gives CONFIG_EMBEDDED a new intended semantics, but keeps it
      open for future contributors to implement that intended semantics:
      
          A new CONFIG_EMBEDDED option is added that automatically selects
          CONFIG_EXPERT when enabled and can be used in the future to isolate
          options that should only be considered for embedded systems (RISC
          architectures, SLOB, etc).
      
      Since then, this CONFIG_EMBEDDED implicitly had two purposes:
      
        - It can make even more options visible beyond what CONFIG_EXPERT makes
          visible. In other words, it may introduce another level of enabling the
          visibility of configuration options: always visible, visible with
          CONFIG_EXPERT and visible with CONFIG_EMBEDDED.
      
        - Set certain default values of some configurations differently,
          following the assumption that configuring a kernel build for an
          embedded system generally starts with a different set of default values
          compared to kernel builds for all other kind of systems.
      
      Considering the first purpose, at the point in time where CONFIG_EMBEDDED
      was renamed to CONFIG_EXPERT, CONFIG_EXPERT already made 130 more options
      become visible throughout all different menus for the kernel configuration.
      Over the last decade, this has gradually increased, so that currently, with
      CONFIG_EXPERT, roughly 170 more options become visible throughout all
      different menus for the kernel configuration. In comparison, currently with
      CONFIG_EMBEDDED enabled, just seven more options are visible, one in x86,
      one in arm, and five for the ChipIdea Highspeed Dual Role Controller.
      
      As the numbers suggest, these two levels of enabling the visibility of even
      more configuration options---beyond what CONFIG_EXPERT enables---never
      evolved to a good solution in the last decade. In other words, this
      additional level of visibility of configuration option with CONFIG_EMBEDDED
      compared to CONFIG_EXPERT has since its introduction never become really
      valuable. It requires quite some investigation to actually understand what
      is additionally visible and it does not differ significantly in complexity
      compared to just enabling CONFIG_EXPERT. This CONFIG_EMBEDDED---or any
      other config to show more detailed options beyond CONFIG_EXPERT---is
      unlikely to be valuable unless somebody puts significant effort in
      identifying how such visibility options can be properly split and creating
      clear criteria, when some config option is visible with CONFIG_EXPERT and
      when some config option is visible only with some further option enabled
      beyond CONFIG_EXPERT, such as CONFIG_EMBEDDED attempted to do. For now, it
      is much more reasonable to simply make those additional seven options that
      visible with CONFIG_EMBEDDED, visible with CONFIG_EXPERT, and then remove
      CONFIG_EMBEDDED. If anyone spends significant effort in structuring the
      visibility of config options, they may re-introduce suitable new config
      options simply as they see fit.
      
      Make the configs for usb chipidea glue drivers visible when CONFIG_EXPERT
      is enabled.
      Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
      Link: https://lore.kernel.org/r/20220908104337.11940-5-lukas.bulwahn@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d818320e
  7. 07 Sep, 2022 8 commits
  8. 05 Sep, 2022 6 commits
  9. 04 Sep, 2022 4 commits
    • Linus Torvalds's avatar
      Linux 6.0-rc4 · 7e18e42e
      Linus Torvalds authored
      7e18e42e
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 59954972
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix handling of PCI domains in /proc on 32-bit systems using the
         recently added support for numbering buses from zero for each domain.
      
       - A fix and a revert for some changes to use READ/WRITE_ONCE() which
         caused problems with KASAN enabled due to sanitisation calls being
         introduced in low-level paths that can't cope with it.
      
       - Fix build errors on 32-bit caused by the syscall table being
         misaligned sometimes.
      
       - Two fixes to get IBM Cell native machines booting again, which had
         bit-rotted while my QS22 was temporarily out of action.
      
       - Fix the papr_scm driver to not assume the order of events returned by
         the hypervisor is stable, and a related compile fix.
      
      Thanks to Aneesh Kumar K.V, Christophe Leroy, Jordan Niethe, Kajol Jain,
      Masahiro Yamada, Nathan Chancellor, Pali Rohár, Vaibhav Jain, and Zhouyi
      Zhou.
      
      * tag 'powerpc-6.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/papr_scm: Ensure rc is always initialized in papr_scm_pmu_register()
        Revert "powerpc/irq: Don't open code irq_soft_mask helpers"
        powerpc: Fix hard_irq_disable() with sanitizer
        powerpc/rtas: Fix RTAS MSR[HV] handling for Cell
        Revert "powerpc: Remove unused FW_FEATURE_NATIVE references"
        powerpc: align syscall table for ppc32
        powerpc/pci: Enable PCI domains in /proc when PCI bus numbers are not unique
        powerpc/papr_scm: Fix nvdimm event mappings
      59954972
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 685ed983
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
       "s390:
      
         - PCI interpretation compile fixes
      
        RISC-V:
      
         - fix unused variable warnings in vcpu_timer.c
      
         - move extern sbi_ext declarations to a header
      
        x86:
      
         - check validity of argument to KVM_SET_MP_STATE
      
         - use guest's global_ctrl to completely disable guest PEBS
      
         - fix a memory leak on memory allocation failure
      
         - mask off unsupported and unknown bits of IA32_ARCH_CAPABILITIES
      
         - fix build failure with Clang integrated assembler
      
         - fix MSR interception
      
         - always flush TLBs when enabling dirty logging"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86: check validity of argument to KVM_SET_MP_STATE
        perf/x86/core: Completely disable guest PEBS via guest's global_ctrl
        KVM: x86: fix memoryleak in kvm_arch_vcpu_create()
        KVM: x86: Mask off unsupported and unknown bits of IA32_ARCH_CAPABILITIES
        KVM: s390: pci: Hook to access KVM lowlevel from VFIO
        riscv: kvm: move extern sbi_ext declarations to a header
        riscv: kvm: vcpu_timer: fix unused variable warnings
        KVM: selftests: Fix ambiguous mov in KVM_ASM_SAFE()
        KVM: selftests: Fix KVM_EXCEPTION_MAGIC build with Clang
        KVM: VMX: Heed the 'msr' argument in msr_write_intercepted()
        kvm: x86: mmu: Always flush TLBs when enabling dirty logging
        kvm: x86: mmu: Drop the need_remote_flush() function
      685ed983
    • Nick Desaulniers's avatar
      Makefile.extrawarn: re-enable -Wformat for clang; take 2 · b0839b28
      Nick Desaulniers authored
      -Wformat was recently re-enabled for builds with clang, then quickly
      re-disabled, due to concerns stemming from the frequency of default
      argument promotion related warning instances.
      
      commit 258fafcd ("Makefile.extrawarn: re-enable -Wformat for clang")
      commit 21f9c8a1 ("Revert "Makefile.extrawarn: re-enable -Wformat for clang"")
      
      ISO WG14 has ratified N2562 to address default argument promotion
      explicitly for printf, as part of the upcoming ISO C2X standard.
      
      The behavior of clang was changed in clang-16 to not warn for the cited
      cases in all language modes.
      
      Add a version check, so that users of clang-16 now get the full effect
      of -Wformat. For older clang versions, re-enable flags under the
      -Wformat group that way users still get some useful checks related to
      format strings, without noisy default argument promotion warnings. I
      intentionally omitted -Wformat-y2k and -Wformat-security from being
      re-enabled, which are also part of -Wformat in clang-16.
      
      Link: https://github.com/ClangBuiltLinux/linux/issues/378
      Link: https://github.com/llvm/llvm-project/issues/57102
      Link: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2562.pdfSuggested-by: default avatarJustin Stitt <jstitt007@gmail.com>
      Suggested-by: default avatarNathan Chancellor <nathan@kernel.org>
      Suggested-by: default avatarYoungmin Nam <youngmin.nam@samsung.com>
      Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Reviewed-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b0839b28