1. 12 3月, 2007 2 次提交
    • P
      sh: Fix SH-3 cache entry_mask and way_size calculation. · ffe1b4e9
      Paul Mundt 提交于
      The code for performing the calculation was only in the SH-4 probe
      path, move it out to the common path so the other parts get this
      right too.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ffe1b4e9
    • H
      sh: Fix PCI BAR address-space wraparound. · bb686609
      Hideo Saito 提交于
      When a SH7751R system includes a card that has wide range space
      like a graphics card, the pci-pci bridge controller can't set the
      correct address range.
      
      For example, when *lower_limit is 0xfd000000 and bar_size is
      0x4000000, in the following code at arch/sh/drivers/pci/pci-auto.c,
      0x0 is set in bar_value.
      
      pciauto_setup_bars()
      {
      ...
                      bar_value = ((*lower_limit - 1) & ~(bar_size - 1)) + bar_size;
      ...
                      *lower_limit = bar_value + bar_size;
      }
      
      As a result, 0x4000000 is set in *lower_limit, but this value is wrong.
      
      The following patch avoids this problem by checking the range of the
      value and refusing to update the BAR if the calculated value ends up
      being bogus.
      Signed-off-by: NHideo Saito <saito@densan.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      bb686609
  2. 05 3月, 2007 7 次提交
  3. 18 2月, 2007 1 次提交
  4. 15 2月, 2007 1 次提交
  5. 14 2月, 2007 3 次提交
  6. 13 2月, 2007 26 次提交