qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 217baa: i386: drop x86_cpu_get_supported_feat


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 217baa: i386: drop x86_cpu_get_supported_feature_word() fo...
Date: Sat, 17 Oct 2020 03:44:57 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 217baac12db1c1a43fa643d95ffa665a4c4877ce
      
https://github.com/qemu/qemu/commit/217baac12db1c1a43fa643d95ffa665a4c4877ce
  Author: Vitaly Kuznetsov <vkuznets@redhat.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  i386: drop x86_cpu_get_supported_feature_word() forward declaration

We only use x86_cpu_get_supported_feature_word() after its implementation,
no forward declaration needed.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200904145431.196885-3-vkuznets@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 1a7655d53d0f6984624f3868125774a34456ca27
      
https://github.com/qemu/qemu/commit/1a7655d53d0f6984624f3868125774a34456ca27
  Author: Zhenyu Wang <zhenyuw@linux.intel.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M target/i386/kvm.c

  Log Message:
  -----------
  i386/kvm: fix FEATURE_HYPERV_EDX value in hyperv_passthrough case

Fix typo to use correct edx value for FEATURE_HYPERV_EDX when
hyperv_passthrough is enabled.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Message-Id: <20190820103030.12515-1-zhenyuw@linux.intel.com>
Fixes: e48ddcc6ce13 ("i386/kvm: implement 'hv-passthrough' mode")
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 35ac5dfbcaa4b31470b4e201d26143b8b9a0a1e7
      
https://github.com/qemu/qemu/commit/35ac5dfbcaa4b31470b4e201d26143b8b9a0a1e7
  Author: Babu Moger <babu.moger@amd.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  target/i386: Remove core_id assert check in CPUID 0x8000001E

With x2apic enabled, configurations can have more that 255 cores.
Noticed the device add test is hitting an assert when during cpu
hotplug with core_id > 255. This is due to assert check in the
CPUID 0x8000001E.

Remove the assert check and fix the problem.

Fixes the bug:
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1834200

Signed-off-by: Babu Moger <babu.moger@amd.com>
Message-Id: <160072824160.9666.8890355282135970684.stgit@naples-babu.amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 1a6dff5fa84118aace4d85d3544a9902ff01e0f3
      
https://github.com/qemu/qemu/commit/1a6dff5fa84118aace4d85d3544a9902ff01e0f3
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M target/i386/kvm.c

  Log Message:
  -----------
  i386/kvm: Require KVM_CAP_IRQ_ROUTING

KVM_CAP_IRQ_ROUTING is available since 2009 (Linux v2.6.30), so
it's safe to just make it a requirement on x86.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200922201922.2153598-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 8981bae23eaca0fa48497c4cacde8f809fe998aa
      
https://github.com/qemu/qemu/commit/8981bae23eaca0fa48497c4cacde8f809fe998aa
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M hw/i386/kvm/apic.c
    M hw/i386/kvm/ioapic.c
    M target/i386/kvm.c

  Log Message:
  -----------
  i386/kvm: Remove IRQ routing support checks

KVM_CAP_IRQ_ROUTING is always available on x86, so replace checks
for kvm_has_gsi_routing() and KVM_CAP_IRQ_ROUTING with asserts.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200922201922.2153598-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: eafa08683fa648ad18e0b57118afa27b6b9c7329
      
https://github.com/qemu/qemu/commit/eafa08683fa648ad18e0b57118afa27b6b9c7329
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M hw/i386/fw_cfg.c
    M hw/i386/microvm.c
    M hw/i386/pc.c
    M target/i386/kvm-stub.c
    M target/i386/kvm.c
    M target/i386/kvm_i386.h

  Log Message:
  -----------
  i386/kvm: Delete kvm_allows_irq0_override()

As IRQ routing is always available on x86,
kvm_allows_irq0_override() will always return true, so we don't
need the function anymore.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200922201922.2153598-4-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 31c707fb4d693068d3f0ab8aa7a1e07ddce5cdca
      
https://github.com/qemu/qemu/commit/31c707fb4d693068d3f0ab8aa7a1e07ddce5cdca
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M include/sysemu/kvm.h

  Log Message:
  -----------
  kvm: Correct documentation of kvm_irqchip_*()

When split irqchip support was introduced, the meaning of
kvm_irqchip_in_kernel() changed: now it only means the LAPIC is
in kernel.  The PIC, IOAPIC, and PIT might be in userspace if
irqchip=split was set.  Update the doc comment to reflect that.

While at it, remove the "the user asked us" part in
kvm_irqchip_is_split() doc comment.  That macro has nothing to do
with existence of explicit user-provided options.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200922203612.2178370-1-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 61ad65d0f01d928b259effb57e2a356f3e3dac03
      
https://github.com/qemu/qemu/commit/61ad65d0f01d928b259effb57e2a356f3e3dac03
  Author: Robert Hoo <robert.hu@linux.intel.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M hw/core/machine.c
    M include/hw/core/cpu.h
    M qapi/machine-target.json
    M target/i386/cpu.c

  Log Message:
  -----------
  cpu: Introduce CPU model deprecation API

Implement the ability of marking some versions deprecated. When
that CPU model is chosen, print a warning.  The warning message
can be customized, e.g. suggesting an alternative CPU model to be
used instead.

The deprecation message will be printed by x86_cpu_list_entry(),
e.g. '-cpu help'.

QMP command 'query-cpu-definitions' will return a bool value
indicating the deprecation status.

Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Message-Id: <1600758855-80046-1-git-send-email-robert.hu@linux.intel.com>
[ehabkost: reword commit message]
[ehabkost: Handle NULL cpu_type]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 3e6a015cbd0f61c19cdc02d5ce74a3e60235cb9a
      
https://github.com/qemu/qemu/commit/3e6a015cbd0f61c19cdc02d5ce74a3e60235cb9a
  Author: Robert Hoo <robert.hu@linux.intel.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M docs/system/deprecated.rst
    M target/i386/cpu.c

  Log Message:
  -----------
  i386: Mark Icelake-Client CPU models deprecated

Icelake-Client CPU models will be removed in the future.

Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Message-Id: <1600758855-80046-2-git-send-email-robert.hu@linux.intel.com>
[ehabkost: reword deprecation note, fix version in doc]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: e12ce85b2c79d83a340953291912875c30b3af06
      
https://github.com/qemu/qemu/commit/e12ce85b2c79d83a340953291912875c30b3af06
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M docs/system/deprecated.rst
    M hw/core/machine.c
    M hw/i386/fw_cfg.c
    M hw/i386/kvm/apic.c
    M hw/i386/kvm/ioapic.c
    M hw/i386/microvm.c
    M hw/i386/pc.c
    M include/hw/core/cpu.h
    M include/sysemu/kvm.h
    M qapi/machine-target.json
    M target/i386/cpu.c
    M target/i386/kvm-stub.c
    M target/i386/kvm.c
    M target/i386/kvm_i386.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-request' 
into staging

x86 queue, 2020-10-15

Cleanups:
* Drop x86_cpu_get_supported_feature_word() forward declaration
  (Vitaly Kuznetsov)
* Delete kvm_allows_irq0_override() (Eduardo Habkost)
* Correct documentation of kvm_irqchip_*() (Eduardo Habkost)
* Fix FEATURE_HYPERV_EDX value in hyperv_passthrough case (Zhenyu Wang)

Deprecation:
* CPU model deprecation API (Robert Hoo)
* Mark Icelake-Client CPU models deprecated (Robert Hoo)

Bug fixes:
* Remove core_id assert check in CPUID 0x8000001E (Babu Moger)

# gpg: Signature made Thu 15 Oct 2020 17:43:58 BST
# gpg:                using RSA key 5A322FD5ABC4D3DBACCFD1AA2807936F984DC5A6
# gpg:                issuer "ehabkost@redhat.com"
# gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>" [full]
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6

* remotes/ehabkost/tags/x86-next-pull-request:
  i386: Mark Icelake-Client CPU models deprecated
  cpu: Introduce CPU model deprecation API
  kvm: Correct documentation of kvm_irqchip_*()
  i386/kvm: Delete kvm_allows_irq0_override()
  i386/kvm: Remove IRQ routing support checks
  i386/kvm: Require KVM_CAP_IRQ_ROUTING
  target/i386: Remove core_id assert check in CPUID 0x8000001E
  i386/kvm: fix FEATURE_HYPERV_EDX value in hyperv_passthrough case
  i386: drop x86_cpu_get_supported_feature_word() forward declaration

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/7daf8f8d011c...e12ce85b2c79



reply via email to

[Prev in Thread] Current Thread [Next in Thread]