1. 10 6月, 2015 3 次提交
  2. 06 6月, 2015 2 次提交
    • C
      iscsi_ibft: filter null v4-mapped v6 addresses · e6050b61
      Chris Leech 提交于
      I've had reports of UEFI platforms failing iSCSI boot in various
      configurations, that ended up being caused by network initialization
      scripts getting tripped up by unexpected null addresses (0.0.0.0) being
      reported for gateways, dhcp servers, and dns servers.
      
      The tianocore EDK2 iSCSI driver generates an iBFT table that always uses
      IPv4-mapped IPv6 addresses for the NIC structure fields.  This results
      in values that are "not present or not specified" being reported as
      ::ffff:0.0.0.0 rather than all zeros as specified.
      
      The iscsi_ibft module filters unspecified fields from the iBFT from
      sysfs, preventing userspace from using invalid values and making it easy
      to check for the presence of a value.  This currently fails in regard to
      these mapped null addresses.
      
      In order to remain consistent with how the iBFT information is exposed,
      we should accommodate the behavior of the tianocore iSCSI driver as it's
      already in the wild in a large number of servers.
      
      Tested under qemu using an OVMF build of tianocore EDK2.
      Signed-off-by: NChris Leech <cleech@redhat.com>
      Reviewed-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      e6050b61
    • R
      drm: fix writing to /sys/class/drm/*/status · 38d8571d
      Russell King 提交于
      Writing to a file is supposed to return the number of bytes written.
      Returning zero unfortunately causes bash to constantly spin trying
      to write to the sysfs file, to such an extent that even ^c and ^z
      have no effect.  The only way out of that is to kill the shell and
      log back in.  This isn't nice behaviour.
      
      Fix it by returning the number of characters written to sysfs files.
      
      [airlied: used suggestion from Al Viro]
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      38d8571d
  3. 05 6月, 2015 4 次提交
  4. 04 6月, 2015 4 次提交
  5. 03 6月, 2015 1 次提交
  6. 02 6月, 2015 7 次提交
  7. 01 6月, 2015 12 次提交
  8. 31 5月, 2015 7 次提交