1. 03 9月, 2015 4 次提交
    • G
      ipxe: update binaries · f4798320
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      f4798320
    • G
      ipxe: use upstream configuration · cf2b4b5b
      Gerd Hoffmann 提交于
      Upstream supports named configurations now and ships with
      settings for qemu.  Use them, drop our config header copying.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      cf2b4b5b
    • G
      ipxe: don't override GITVERSION · f927f162
      Gerd Hoffmann 提交于
      We had build problems due to the git version checking in the ipxe build
      system in the past.  Don't remember the details, but the problem seems
      to be gone now, so lets remove the workaround.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      
      [ most likely ipxe commit 6153c09c41034250408f3596555fcaae715da46c:
        [build] Set GITVERSION only if there is a git repository ]
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      f927f162
    • G
      ipxe: update from 35c53797 to 4e03af8 · d4517d17
      Gerd Hoffmann 提交于
      git shortlog
      ============
      
      Alex Williamson (1):
            [dhcp] Extract timing parameters out to config/dhcp.h
      
      Bernd Wiebelt (1):
            [tg3] Add support for BCM57766
      
      Christian Hesse (3):
            [intel] Add PCI device IDs for Intel I218-LM and I218-V
            [build] Add missing "const" qualifiers
            [ath9k] Remove confusing logic inversion in an ANI variable
      
      Christian Nilsson (1):
            [bios] Add ANSI blink attribute
      
      Daniel Pieczko (1):
            [prefix] Use correct register for KEEP_IT_REAL physical address conversion
      
      Ed Swierk (1):
            [intel] Update PCI device IDs for Intel 82599 and X540 10G NICs
      
      Fabrice Bacchella (2):
            [efi] Improve NII driver logging
            [efi] Work around bugs in Emulex NII driver
      
      Laszlo Ersek (1):
            [virtio] Downgrade per-iobuf debug messages to DBGC2
      
      Michael Brown (284):
            [device] Provide a driver-private data field for root devices
            [iobuf] Add iob_split() to split an I/O buffer into portions
            [rndis] Add generic RNDIS device abstraction
            [hyperv] Add support for Hyper-V hypervisor
            [hyperv] Add support for VMBus devices
            [hyperv] Add support for NetVSC paravirtual network devices
            [rndis] Send RNDIS_INITIALISE_MSG
            [rndis] Send RNDIS_HALT_MSG
            [hyperv] Tear down NetVSC RX buffer GPADL after closing VMBus device
            [rndis] Clear receive filter when closing the device
            [hyperv] Receive all VMBus messages in a poll
            [hyperv] Increase TX ring size
            [hyperv] Assume that VMBus xfer page ranges correspond to RNDIS messages
            [rndis] Ignore start-of-day RNDIS_INDICATE_STATUS_MSG with status 0x40020006
            [hyperv] Tidy up debug output
            [hyperv] Require support for VMBus version 3.0 or newer
            [build] Include Hyper-V driver in the all-drivers build
            [pci] Allow drivers to specify a PCI class
            [romprefix] Ensure UNDI loader can be included by all ROM types
            [usb] Add basic support for USB devices
            [usb] Add basic support for USB hubs
            [usb] Add support for xHCI host controllers
            [ncm] Add support for CDC-NCM USB Ethernet devices
            [usb] Report xHCI host controller events
            [ncm] Use large multi-packet buffers by default
            [tftp] Explicitly abort connection whenever parent interface is closed
            [uri] Allow tftp_uri() to construct a URI with a custom port
            [pxe] Use tftp_uri() to construct PXE TFTP URIs
            [pxe] Maintain a queue for received PXE UDP packets
            [ncm] Reserve headroom in received packets
            [usb] Try multiple USB device configurations
            [usb] Handle CDC union functional descriptors
            [usb] Parse endpoint descriptor bInterval field
            [usb] Allow usb_stream() to enforce a terminating short packet
            [ecm] Add support for CDC-ECM USB Ethernet devices
            [xhci] Delay after (possibly) forcing port link state to RxDetect
            [build] Move branding information to config/branding.h
            [build] Use PRODUCT_SHORT_NAME for end-user visible strings
            [build] Allow product URI to be customised via config/branding.h
            [build] Allow error message URI to be customised via config/branding.h
            [build] Allow command help text URI to be customised via config/branding.h
            [build] Allow setting help text URI to be customised via config/branding.h
            [build] Allow product tag line to be customised via config/branding.h
            [rndis] Add rndis_rx_err()
            [usb] Handle port status changes received after failing to find a driver
            [efi] Disallow R_X86_64_32 relocations
            [build] Apply the "-fno-PIE -nopie" workaround only to i386 builds
            [usb] Provide generic framework for refilling receive endpoints
            [usb] Use generic refill framework for USB hub interrupt endpoints
            [ecm] Use generic refill framework for bulk IN and interrupt endpoints
            [ncm] Use generic refill framework for bulk IN and interrupt endpoints
            [libc] Remove unused string functions
            [libc] Rewrite string functions
            [test] Add self-tests for more string functions
            [test] Add constant-length memset() self-tests
            [libc] Reduce size of memset()
            [usb] Add generic USB network device framework
            [ecm] Use generic USB network device framework
            [ncm] Use generic USB network device framework
            [timer] Rewrite the 8254 Programmable Interval Timer support
            [xhci] Leak memory if controller fails to disable slot
            [xhci] Abort commands on timeout
            [test] Add IPv4 self-tests
            [legal] Add missing copyright header to net/ipv4.c
            [ipv4] Rewrite inet_aton()
            [libc] Rewrite strtoul()
            [hyperv] Check for required features
            [prefix] Use .bss16 as temporary stack space for calls to install_block
            [zbin] Use LZMA compression
            [zbin] Perform extra normalisation after completing decompression
            [prefix] Call decompressor in flat real mode when DEBUG=libprefix is enabled
            [zbin] Allow decompressor to generate debug output via BIOS console
            [zbin] Fix check for existence of most recent output byte
            [zbin] Remove now-unused unnrv2b.S decompressor
            [legal] Update GPLv2 licence text
            [legal] Include full licence text for all GPL2_OR_LATER files
            [mucurses] Add missing FILE_LICENCE declarations
            [legal] Add support for the Unmodified Binary Distribution Licence
            [legal] Add UBDL relicensing tool
            [legal] Relicense files under GPL2_OR_LATER_OR_UBDL
            [legal] Relicense files under GPL2_OR_LATER_OR_UBDL
            [legal] Relicense files under GPL2_OR_LATER_OR_UBDL
            [legal] Relicense files under GPL2_OR_LATER_OR_UBDL
            [libc] Rewrite unrelicensable portions of stddef.h
            [libc] Rewrite unrelicensable portions of ctype.h
            [libc] Rewrite setjmp() and longjmp()
            [libc] Rewrite byte-swapping code
            [elf] Rewrite ELF header
            [list] Relicense list.h
            [iscsi] Rewrite unrelicensable portions of iscsi.c
            [pci] Remove outdated and mostly-unused pci_ids.h file
            [pci] Rewrite unrelicensable portions of pci.h
            [settings] Use list_first_entry() when unregistering child settings
            [settings] Rewrite unrelicensable portions of settings.c
            [menu] Abstract out the generic concept of a jump scroller
            [settings] Use generic jump scrolling abstraction
            [malloc] Move valgrind headers out of arch/x86
            [malloc] Rewrite unrelicensable portions of malloc.c
            [build] Remove unused IMPORT_SYMBOL() and EXPORT_SYMBOL() macros
            [build] Remove unused __keepme macro
            [pxe] Remove obsolete references to pxeparent_dhcp
            [build] Remove obsolete and unused portions of config.c
            [build] Use REQUIRE_OBJECT() to drag in per-object configuration
            [build] Fix the REQUIRE_SYMBOL mechanism
            [i386] Move real_to_user() to realmode.h
            [linux] Rewrite headers included in all builds
            [retry] Rewrite unrelicensable portions of retry.c
            [retry] Colourise debug output
            [legal] Relicense files under GPL2_OR_LATER_OR_UBDL
            [xhci] Enable USB3 ports on Intel PCH8/PCH9 controllers
            [xhci] Undo PCH-specific quirk fixes when removing device
            [xen] Set the "feature-rx-notify" flag for netfront devices
            [http] Abstract out HTTP Digest hash algorithm operations
            [http] Support MD5-sess Digest authentication
            [dm96xx] Add driver for Davicom DM96xx USB Ethernet NICs
            [legal] Relicense Davicom DM96xx drivers
            [mii] Add generic mii_check_link() function
            [smsc75xx] Add driver for SMSC/Microchip LAN75xx USB Ethernet NICs
            [legal] Relicense files under GPL2_OR_LATER_OR_UBDL
            [tcp] Implement support for TCP Selective Acknowledgements (SACK)
            [smsc75xx] Move RX FIFO overflow message to DBGLVL_EXTRA
            [tcpip] Fix dubious calculation of min_port
            [libc] Add ffs(), ffsl(), and ffsll()
            [usb] Add the concept of a USB bus maximum transfer size
            [ncm] Respect maximum transfer size of the bus
            [usb] Add functions for manual device address assignment
            [xhci] Forcibly disable SMIs if BIOS fails to release ownership
            [autoboot] Match against parent devices when matching by bus type and location
            [usb] Add config/usb.h for USB configuration options
            [xhci] Do not release ownership back to BIOS when booting an OS
            [ehci] Add support for EHCI host controllers
            [netdevice] Add missing bus types to netdev_fetch_bustype()
            [usb] Fix USB timeouts to match specification
            [libprefix] Fix building on 64-bit FreeBSD 8.4
            [xhci] Ring doorbell as part of endpoint reset
            [usb] Reset endpoints without waiting for a new transfer to be enqueued
            [usb] Add clear_tt() hub method to clear transaction translator buffer
            [usb] Clear transaction translator buffers when applicable
            [ehci] Support USB1 devices attached via transaction translators
            [usb] Improve debug messages for failed control transactions
            [xhci] Support USB1 devices attached via transaction translators
            [libc] Fix typo in longjmp()
            [libc] Add x86_64 versions of setjmp() and longjmp()
            [test] Add setjmp()/longjmp() self-tests
            [test] Simplify digest algorithm self-tests
            [crypto] Add SHA-224 algorithm
            [crypto] Add SHA-512 algorithm
            [crypto] Add SHA-384 algorithm
            [crypto] Add SHA-512/256 algorithm
            [crypto] Add SHA-512/224 algorithm
            [efi] Ensure drivers are disconnected when ExitBootServices() is called
            [peerdist] Add support for decoding PeerDist Content Information
            [xhci] Always reset root hub ports
            [romprefix] Allow autoboot device filter to be disabled
            [util] Add ability to dump PCI device ID list
            [efi] Add EFI entropy source
            [efi] Add EFI time source
            [efi] Provide a dummy data block in nii_initialise()
            [efi] Poll media status only if advertised as supported
            [efi] Poll for TX completions only when there is an outstanding TX buffer
            [efi] Use the EFI_RNG_PROTOCOL as an entropy source if available
            [eepro100] Remove duplicate PCI_ROM() line
            [prism2] Remove duplicate PCI_ROM() lines
            [build] Allow building PCI ROMs with device ID lists
            [build] Fix compiler warning on OpenBSD 5.7
            [build] Work around binutils quirk on OpenBSD 5.7
            [build] Use a single call to parserom.pl to speed up building
            [intel] Report any unexpected interrupt causes
            [intel] Force RX polling on VMware emulated 82545em
            [realtek] Do not attempt to access EEPROM on RTL8169 chips
            [rtl818x] Obviate RTL_ROM() hack
            [build] Construct all-drivers list based on driver class
            [test] Include IPv6 support when performing settings self-tests
            [base16] Add buffer size parameter to base16_encode() and base16_decode()
            [base64] Add buffer size parameter to base64_encode() and base64_decode()
            [settings] Add "base64" setting type
            [vram] Add "vram" built-in setting to dump video RAM
            [usb] Include setup packet within I/O buffer for message transfers
            [pci] Provide PCI_CLASS() to calculate a scalar PCI class value
            [usb] Detect missed disconnections
            [usb] Maintain a list of all USB buses
            [usb] Maintain single lists of halted endpoints and changed ports
            [ehci] Poll child companion controllers after disowning port
            [usb] Add find_usb_bus_by_location() helper function
            [ehci] Allow UHCI/OHCI controllers to locate the EHCI companion controller
            [uhci] Add support for UHCI host controllers
            [usb] Provide usb_endpoint_name() for use by host controller drivers
            [xhci] Use meaningful device names in debug messages
            [ehci] Use meaningful device names in debug messages
            [uhci] Use meaningful device names in debug messages
            [ipv6] Disambiguate received ICMPv6 errors
            [usb] Add USB_INTERRUPT_OUT internal type
            [usb] Add generic USB human interface device (HID) framework
            [usb] Add basic support for USB keyboards
            [usb] Do not call usb_hotplug() when registering a new hub
            [usb] Always clear recorded disconnections after performing hotplug actions
            [intel] Expose intel_diag() for use by other Intel NIC drivers
            [intel] Allow for the use of advanced TX descriptors
            [intel] Add support for mailbox used by virtual functions
            [intel] Add intelxvf driver for Intel 10 GigE virtual function NICs
            [int13con] Add basic ability to log to a local disk via INT 13
            [intel] Add intelxvf_stats() to dump packet statistics registers
            [intel] Fix operation when physical function has jumbo frames enabled
            [neighbour] Return success when deferring a packet
            [xhci] Fix length of allocated slot array
            [build] Fix .ids.o creation for drivers not in the all-drivers build
            [xhci] Fix comparison of signed and unsigned integers
            [ipoib] Fix REMAC cache discarder
            [xhci] Record device-specific quirks in xHCI device structure
            [xhci] Ignore invalid protocol speed ID values on Intel Skylake platforms
            [pci] Use flat real mode to call INT 1a,b101
            [tcp] Do not shrink window when discarding received packets
            [mromprefix] Report a dummy size at offset 0x02 of .mrom payload
            [ethernet] Add minimal support for receiving LLC frames
            [netdevice] Add a generic concept of a "blocked link"
            [stp] Add support for detecting Spanning Tree Protocol non-forwarding ports
            [stp] Fix interpretaton of hello time
            [dhcp] Defer discovery if link is blocked
            [pxe] Always reconstruct packet for PXENV_GET_CACHED_INFO
            [serial] Add general abstraction of a 16550-compatible UART
            [gdb] Use new UART abstraction in GDB serial transport
            [serial] Use new UART abstraction in serial console driver
            [ipoib] Mark REMAC cache as expensive
            [ipoib] Attempt to generate ARPs as needed to repopulate REMAC cache
            [gdb] Allow gdbstub to be started on an arbitrary serial port
            [xen] Wait for and clear XenStore event before receiving data
            [tcp] Gracefully close connections during shutdown
            [ipoib] Transmit multicast packets as broadcasts
            [efi] Fix receive and transmit completion reporting
            [efi] Allow user experience to be downgraded
            [build] Add named configuration for qemu
            [tcp] Ensure FIN is actually sent if connection is closed while idle
            [fault] Generalise NETDEV_DISCARD_RATE fault injection mechanism
            [fault] Add inject_corruption() to randomly corrupt data
            [profile] Add profile_custom() for profiling with arbitrary time units
            [interface] Add intf_poke() helper
            [xfer] Use intf_poke() to implement xfer_window_changed()
            [xfer] Add xfer_check_order() utility function
            [xferbuf] Generalise to handle umalloc()-based buffers
            [xferbuf] Add xfer_buffer() to provide direct access to underlying buffer
            [downloader] Use generic data-transfer buffer mechanism
            [downloader] Provide direct access to the underlying data transfer buffer
            [build] Fix compiler warnings on some gcc versions
            [crypto] Add bit-rotation functions for 8-bit and 16-bit values
            [802.11] Use correct SHA1_DIGEST_SIZE constant name
            [crypto] Add ECB block cipher mode (for debug and self-tests only)
            [test] Generalise cipher tests and use okx()
            [test] Define shortcuts for frequently-used NIST AES test vectors
            [test] Add NIST self-tests for AES128 and AES256 in ECB mode
            [crypto] Replace AES implementation
            [test] Add NIST self-tests for AES192 in ECB and CBC modes
            [crypto] Remove AXTLS headers
            [build] Fix strict-aliasing warning on older gcc versions
            [ipv6] Treat a missing network device name as "netX"
            [netdevice] Avoid using zero as a network device index
            [ipv4] Redefine IP address constants to avoid unnecessary byte swapping
            [ipv4] Allow IPv4 socket addresses to include a scope ID
            [iscsi] Add missing "break" statements
            [netdevice] Allow network devices to disclaim IRQ support at runtime
            [peerdist] Include trimmed range within content information block
            [peerdist] Add support for constructing and decoding discovery messages
            [peerdist] Add support for constructing and decoding retrieval messages
            [pool] Add a generic concept of a pooled connection
            [linebuf] Support buffering of multiple lines
            [elf] Reject ELFBoot images requiring virtual addressing
            [comboot] Avoid dragging in serial console support unconditionally
            [serial] Check for UART existence in uart_select()
            [tls] Do not access beyond the end of a 24-bit integer
            [tls] Report supported signature algorithms in ClientHello
            [crypto] Support SHA-{224,384,512} in X.509 certificates
            [efi] Hold off watchdog timer while running
            [efi] Add missing "ULL" suffix on 64-bit constant
            [block] Add generic block device translator
            [http] Rewrite HTTP core to support content encodings
            [peerdist] Add segment discovery mechanism
            [peerdist] Add individual block download mechanism
            [peerdist] Add block download multiplexer
            [peerdist] Add support for PeerDist (aka BranchCache) HTTP content encoding
            [dhcp] Allow pseudo-DHCP servers to use pseudo-identifiers
            [dhcp] Ignore ProxyDHCPACKs without PXE options
            [pxe] Warn about PXE NBPs that may be EFI executables
            [test] Allow self-tests to report exit status when running under Linux
            [image] Detect image type when image is first registered
            [autoboot] Display image information as part of the default control flow
      
      Olaf Hering (1):
            [build] Sort objects in blib.a
      
      Robin Smidsrød (2):
            [vbox] Enable some more features now that we have LZMA compression
            [build] Rewrite parserom.pl to support multiple source files
      
      Thomas Miletich (1):
            [intel] Add PCI ID for I218-LM
      
      Tufan Karadere (1):
            [crypto] Add ASN.1 OIDs for sha{224,384,512}WithRsaEncryption
      
      Wissam Shoukair (2):
            [comboot] Implement INT22,0x000c
            [ipoib] Fix a race when chain-loading undionly.kpxe in IPoIB
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      d4517d17
  2. 02 9月, 2015 27 次提交
  3. 28 8月, 2015 2 次提交
  4. 27 8月, 2015 4 次提交
  5. 26 8月, 2015 1 次提交
    • G
      vnc: fix memory corruption (CVE-2015-5225) · eb8934b0
      Gerd Hoffmann 提交于
      The _cmp_bytes variable added by commit "bea60dd7 ui/vnc: fix potential
      memory corruption issues" can become negative.  Result is (possibly
      exploitable) memory corruption.  Reason for that is it uses the stride
      instead of bytes per scanline to apply limits.
      
      For the server surface is is actually fine.  vnc creates that itself,
      there is never any padding and thus scanline length always equals stride.
      
      For the guest surface scanline length and stride are typically identical
      too, but it doesn't has to be that way.  So add and use a new variable
      (guest_ll) for the guest scanline length.  Also rename min_stride to
      line_bytes to make more clear what it actually is.  Finally sprinkle
      in an assert() to make sure we never use a negative _cmp_bytes again.
      Reported-by: N范祚至(库特) <zuozhi.fzz@alibaba-inc.com>
      Reviewed-by: NP J P <ppandit@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      eb8934b0
  6. 25 8月, 2015 2 次提交
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20150825-1' into staging · 7df96719
      Peter Maydell 提交于
      target-arm queue:
       * add missing EL2/EL3 TLBI operations
       * add missing EL2/EL3 ATS operations
       * add missing EL2/EL3 registers
       * update Xilinx MAINTAINERS info
       * Xilinx: connect the four OCM banks
      
      # gpg: Signature made Tue 25 Aug 2015 16:22:43 BST using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
      
      * remotes/pmaydell/tags/pull-target-arm-20150825-1:
        target-arm: Implement AArch64 TLBI operations on IPAs
        target-arm: Implement missing EL3 TLB invalidate operations
        target-arm: Implement missing EL2 TLBI operations
        target-arm: Restrict AArch64 TLB flushes to the MMU indexes they must touch
        target-arm: Move TLBI ALLE1/ALLE1IS definitions into numeric order
        cputlb: Add functions for flushing TLB for a single MMU index
        target-arm: Implement AArch32 ATS1H* operations
        target-arm: Enable the AArch32 ATS12NSO ops
        target-arm: Add CP_ACCESS_TRAP_UNCATEGORIZED_EL2, 3
        target-arm: Wire up AArch64 EL2 and EL3 address translation ops
        target-arm: there is no TTBR1 for 32-bit EL2 stage 1 translations
        target-arm: Implement missing ACTLR registers
        target-arm: Implement missing AFSR registers
        target-arm: Implement missing AMAIR registers
        target-arm: Add missing MAIR_EL3 and TPIDR_EL3 registers
        MAINTAINERS: Add ZynqMP to MAINTAINERS file
        MAINTAINERS: Update Xilinx Maintainership
        xlnx-zynqmp: Connect the four OCM banks
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7df96719
    • P
      target-arm: Implement AArch64 TLBI operations on IPAs · cea66e91
      Peter Maydell 提交于
      Implement the AArch64 TLBI operations which take an intermediate
      physical address and invalidate stage 2 translations.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
      Message-id: 1439548879-1972-7-git-send-email-peter.maydell@linaro.org
      cea66e91