qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] f701c0: i386/kvm: correct the meaning of '0xf


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] f701c0: i386/kvm: correct the meaning of '0xffffffff' valu...
Date: Mon, 21 Sep 2020 11:00:33 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f701c082e72d4786686dfd1d9d877b64dc1d2804
      
https://github.com/qemu/qemu/commit/f701c082e72d4786686dfd1d9d877b64dc1d2804
  Author: Vitaly Kuznetsov <vkuznets@redhat.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M docs/hyperv.txt
    M target/i386/cpu.c
    M target/i386/cpu.h
    M target/i386/kvm.c

  Log Message:
  -----------
  i386/kvm: correct the meaning of '0xffffffff' value for hv-spinlocks

Hyper-V TLFS prior to version 6.0 had a mistake in it: special value
'0xffffffff' for CPUID 0x40000004.EBX was called 'never to retry', this
looked weird (like why it's not '0' which supposedly have the same effect?)
but nobody raised the question. In TLFS version 6.0 the mistake was
corrected to 'never notify' which sounds logical. Fix QEMU accordingly.

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


  Commit: bda90507a447e15ad425e080c688414073aba695
      
https://github.com/qemu/qemu/commit/bda90507a447e15ad425e080c688414073aba695
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M include/hw/i386/vmport.h

  Log Message:
  -----------
  hw/i386/vmport: Drop superfluous parenthesis around function typedef

Drop superfluous parenthesis around VMPortReadFunc typedef
(added in d67f679d99, missed to remove when moved in e595112985).

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200505142836.16903-1-philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 2f084d1e1d6241dd890516289108e17720c5847f
      
https://github.com/qemu/qemu/commit/2f084d1e1d6241dd890516289108e17720c5847f
  Author: Babu Moger <babu.moger@amd.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  i386: Simplify CPUID_8000_001d for AMD

Remove all the hardcoded values and replace with generalized
fields.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <159897584649.30750.3939159632943292252.stgit@naples-babu.amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 31ada106d891f56f54d4234ce58c552bc2e734af
      
https://github.com/qemu/qemu/commit/31ada106d891f56f54d4234ce58c552bc2e734af
  Author: Babu Moger <babu.moger@amd.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  i386: Simplify CPUID_8000_001E for AMD

apic_id contains all the information required to build
CPUID_8000_001E. core_id and node_id is already part of
apic_id generated by x86_topo_ids_from_apicid.

Also remove the restriction on number bits on core_id and
node_id.

Remove all the hardcoded values and replace with generalized
fields.

Refer the Processor Programming Reference (PPR) documentation
available from the bugzilla Link below.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=206537
Message-Id: <159897585257.30750.5815593918927986935.stgit@naples-babu.amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>


  Commit: 5df6c87e8080e0021e975c8387baa20cfe43c932
      
https://github.com/qemu/qemu/commit/5df6c87e8080e0021e975c8387baa20cfe43c932
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M docs/hyperv.txt
    M include/hw/i386/vmport.h
    M target/i386/cpu.c
    M target/i386/cpu.h
    M target/i386/kvm.c

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

x86 queue, 2020-09-18

Cleanups:
* Correct the meaning of '0xffffffff' value for hv-spinlocks (Vitaly Kuznetsov)
* vmport: Drop superfluous parenthesis (Philippe Mathieu-Daudé)

Fixes:
* Use generic APIC ID encoding code for EPYC (Babu Moger)

# gpg: Signature made Fri 18 Sep 2020 21:26:57 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: Simplify CPUID_8000_001E for AMD
  i386: Simplify CPUID_8000_001d for AMD
  hw/i386/vmport: Drop superfluous parenthesis around function typedef
  i386/kvm: correct the meaning of '0xffffffff' value for hv-spinlocks

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


Compare: https://github.com/qemu/qemu/compare/14fe4edcfaf5...5df6c87e8080



reply via email to

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